Skip to content

Commit 94ff1a4

Browse files
committed
build
1 parent 6836d91 commit 94ff1a4

File tree

8 files changed

+161
-64
lines changed

8 files changed

+161
-64
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![npm](https://img.shields.io/badge/npm-DEV-blue.svg)](https://www.npmjs.com/package/jquery.terminal)
99
![bower](https://img.shields.io/badge/bower-DEV-yellow.svg)
1010
[![Build and test](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml/badge.svg?branch=devel&event=push)](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml)
11-
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&fd1428cc07b47e9b924bc0bef4da0f89)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel)
11+
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&9b12a0d46f8ce029080444cbbcb7f180)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel)
1212
![NPM Downloads](https://img.shields.io/npm/dm/jquery.terminal.svg?style=flat)
1313
[![jsDelivr Downloads](https://data.jsdelivr.com/v1/package/npm/jquery.terminal/badge?style=rounded&n=1)](https://www.jsdelivr.com/package/npm/jquery.terminal)
1414
[![Paid Support](https://img.shields.io/badge/paid-support-354465.svg)](https://support.jcubic.pl/)
@@ -97,7 +97,7 @@ You can use any version you want, everything what [jsDelivr GH API accepts](http
9797

9898
You can find all interactive examples of jQuery Terminal in one place:
9999

100-
- [CodePen Collection of jQuery Terminal Demos](https://codepen.io/collection/LPjoaW)
100+
* [CodePen Collection of jQuery Terminal Demos](https://codepen.io/collection/LPjoaW)
101101

102102
### Installation
103103

css/jquery.terminal-src.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ body.full-screen-terminal {
114114
min-height: 100%;
115115
height: 100%;
116116
}
117+
.terminal .terminal-virtual-filler {
118+
height: calc(var(--terminal-line-count) * var(--terminal-line));
119+
z-index: -1;
120+
}
117121
.terminal > .terminal-pixel {
118122
position: absolute;
119123
display: inline;

css/jquery.terminal.css

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Copyright (c) 2010-2025 Jakub T. Jankiewicz <https://jcubic.pl/me>
1313
* Released under the MIT license
1414
*
15-
* Date: Sat, 20 Sep 2025 14:38:53 +0000
15+
* Date: Sun, 04 Jan 2026 10:39:33 +0000
1616
*/
1717
.terminal .terminal-output .format, .cmd .format,
1818
.cmd-prompt, .cmd-prompt div {
@@ -114,6 +114,10 @@ body.full-screen-terminal {
114114
min-height: 100%;
115115
height: 100%;
116116
}
117+
.terminal .terminal-virtual-filler {
118+
height: calc(var(--terminal-line-count) * var(--terminal-line));
119+
z-index: -1;
120+
}
117121
.terminal > .terminal-pixel {
118122
position: absolute;
119123
display: inline;
@@ -157,6 +161,7 @@ body.full-screen-terminal {
157161
color: #000 !important;
158162
}
159163
.terminal .terminal-output > :not(.raw) a[href],
164+
.terminal .raw pre.terminal-signature a[href],
160165
.cmd a[href],
161166
.terminal.external a[href] {
162167
color: #3377FF;
@@ -165,20 +170,23 @@ body.full-screen-terminal {
165170
}
166171
.cmd a[href]:not(.terminal-inverted),
167172
.terminal .terminal-output > :not(.raw) a[href]:not(.terminal-inverted),
173+
.terminal .raw pre.terminal-signature a[href]:not(.terminal-inverted),
168174
.terminal.external a[href]:not(.terminal-inverted) {
169175
--color: var(--link-color, #3377FF);
170176
/* conditionals: https://www.kizu.ru/conditions-for-css-variables/ */
171177
/* --glow: 0; */
172178
text-shadow: 0 0 calc(var(--glow) * 5px) var(--color, #ccc);
173179
}
174180
.terminal .terminal-output > :not(.raw) a[href].terminal-inverted,
181+
.terminal .raw pre.terminal-signature a[href].terminal-inverted,
175182
.terminal.external a[href].terminal-inverted {
176183
background: var(--color, #ccc);
177184
/* conditionals: https://www.kizu.ru/conditions-for-css-variables/ */
178185
/* --glow: 0; */
179186
text-shadow: 0 0 calc(var(--glow) * 5px) var(--background, #000);
180187
}
181188
.terminal .terminal-output > :not(.raw) a[href]:hover,
189+
.terminal .raw pre.terminal-signature a[href]:hover,
182190
.cmd a[href]:hover,
183191
.terminal.external a[href]:hover {
184192
background-color: #3377FF;
@@ -192,12 +200,14 @@ body.full-screen-terminal {
192200
*/
193201
@container style(--background: transparent) {
194202
.terminal .terminal-output > :not(.raw) a[href]:hover,
203+
.terminal .raw pre.terminal-signature a[href]:hover,
195204
.cmd a[href]:hover,
196205
.terminal.external a[href]:hover {
197206
--base-background: black;
198207
}
199208
}
200209
.terminal .terminal-output > :not(.raw) a[href] span,
210+
.terminal .raw pre.terminal-signature a[href] span,
201211
.cmd a[href] span,
202212
.terminal.external a[href] span {
203213
/*
@@ -210,6 +220,7 @@ body.full-screen-terminal {
210220
text-decoration: underline;
211221
}
212222
.terminal .terminal-output > :not(.raw) a[href]:hover span,
223+
.terminal .raw pre.terminal-signature a[href]:hover span,
213224
.cmd a[href]:hover span,
214225
.terminal.external a[href]:hover span {
215226
background-color: #3377FF !important;
@@ -295,12 +306,16 @@ body.full-screen-terminal {
295306
.cmd {
296307
font-size: 12px;
297308
}
298-
.terminal-output > div:not(.raw) div::before,
309+
.terminal-output > div div::before,
299310
.cmd .cmd-line::before {
300311
content: '\0200B';
301312
width: 0;
302313
display: inline-block;
303314
}
315+
.cmd.raw .cmd-prompt {
316+
white-space: pre-wrap;
317+
word-break: break-all;
318+
}
304319
.cmd .cmd-line {
305320
white-space: nowrap;
306321
}
@@ -828,7 +843,8 @@ terminal .terminal-output > div {
828843
--color: var(--error-color, red);
829844
text-shadow: 0 0 calc(var(--glow) * 5px) var(--color);
830845
}
831-
.terminal .terminal-output > :not(.raw) a[href] {
846+
.terminal .terminal-output > :not(.raw) a[href],
847+
.terminal .raw pre.terminal-signature a[href] {
832848
text-shadow: 0 0 calc(var(--glow) * 5px) var(--color);
833849
}
834850
.terminal .cmd {
@@ -1105,6 +1121,7 @@ terminal .terminal-output > div {
11051121
.terminal-glow a[data-text],
11061122
.terminal-glow [data-text] span,
11071123
.terminal-glow .terminal-output > div span,
1124+
.terminal-glow .raw pre.terminal-signature a[href],
11081125
.terminal-glow .terminal-output > div a[href] {
11091126
text-shadow: 1px 1px 5px #ccc;
11101127
text-shadow: 1px 1px 5px var(--color, #ccc);

css/jquery.terminal.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/jquery.terminal.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)