Skip to content

Commit

Permalink
fix background color in prompt #906
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 6, 2023
1 parent cd62295 commit d03c7f7
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* fix \t characters in ascii_table [#902](https://github.com/jcubic/jquery.terminal/issues/902)
* fix race condition in refresh and flush [#897](https://github.com/jcubic/jquery.terminal/issues/897)
* always execute function prompt after login [#898](https://github.com/jcubic/jquery.terminal/issues/898)
* fix background color in prompt [#906](https://github.com/jcubic/jquery.terminal/issues/906)

## 2.37.2
### Bugfix
Expand Down
5 changes: 3 additions & 2 deletions css/jquery.terminal-2.37.2.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2023 Jakub T. Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Fri, 20 Oct 2023 10:39:08 +0000
* Date: Wed, 06 Dec 2023 14:24:45 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd-prompt, .cmd-prompt div {
Expand Down Expand Up @@ -299,7 +299,7 @@ body.full-screen-terminal .terminal {
line-height: calc(var(--size, 1) * (13px / var(--pixel-density, 1))) !important;
}
.cmd span.cmd-prompt, .cmd .cmd-prompt span {
background-color: transparent !important;
--background: transparent;
}
.terminal-output .emoji, .cmd .emoji {
height: 12px;
Expand Down Expand Up @@ -871,6 +871,7 @@ terminal .terminal-output > div {
top: calc(var(--size, 1) * (14 / var(--pixel-density, 1)) * var(--cursor-line, 0) * 1px);
}
.terminal .inverted, .cmd.cmd.cmd .inverted, .cmd.cmd.cmd .cmd-inverted {
--background: #000;
background-color: var(--color, #aaa) !important;
color: var(--background, #000) !important;
}
Expand Down
6 changes: 3 additions & 3 deletions css/jquery.terminal-2.37.2.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion css/jquery.terminal-src.css
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ body.full-screen-terminal .terminal {
line-height: calc(var(--size, 1) * (13px / var(--pixel-density, 1))) !important;
}
.cmd span.cmd-prompt, .cmd .cmd-prompt span {
background-color: transparent !important;
--background: transparent;
}
.terminal-output .emoji, .cmd .emoji {
height: 12px;
Expand Down Expand Up @@ -871,6 +871,7 @@ terminal .terminal-output > div {
top: calc(var(--size, 1) * (14 / var(--pixel-density, 1)) * var(--cursor-line, 0) * 1px);
}
.terminal .inverted, .cmd.cmd.cmd .inverted, .cmd.cmd.cmd .cmd-inverted {
--background: #000;
background-color: var(--color, #aaa) !important;
color: var(--background, #000) !important;
}
Expand Down
5 changes: 3 additions & 2 deletions css/jquery.terminal.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2023 Jakub T. Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Fri, 20 Oct 2023 10:39:08 +0000
* Date: Wed, 06 Dec 2023 14:24:45 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd-prompt, .cmd-prompt div {
Expand Down Expand Up @@ -299,7 +299,7 @@ body.full-screen-terminal .terminal {
line-height: calc(var(--size, 1) * (13px / var(--pixel-density, 1))) !important;
}
.cmd span.cmd-prompt, .cmd .cmd-prompt span {
background-color: transparent !important;
--background: transparent;
}
.terminal-output .emoji, .cmd .emoji {
height: 12px;
Expand Down Expand Up @@ -871,6 +871,7 @@ terminal .terminal-output > div {
top: calc(var(--size, 1) * (14 / var(--pixel-density, 1)) * var(--cursor-line, 0) * 1px);
}
.terminal .inverted, .cmd.cmd.cmd .inverted, .cmd.cmd.cmd .cmd-inverted {
--background: #000;
background-color: var(--color, #aaa) !important;
color: var(--background, #000) !important;
}
Expand Down
6 changes: 3 additions & 3 deletions css/jquery.terminal.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/jquery.terminal.min.css.map

Large diffs are not rendered by default.

0 comments on commit d03c7f7

Please sign in to comment.