Skip to content

Commit

Permalink
fix broken full screen terminal height on Desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 20, 2024
1 parent afdd974 commit 9de5258
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 35 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## 2.39.3
### Bugfix
* fix broken full screen terminal height on Desktop

## 2.39.2
### Bugfix
* fix when CSS is loaded after creation of the terminal (mostly for ReactJS)
Expand Down
7 changes: 3 additions & 4 deletions css/jquery.terminal-2.39.2.css
Expand Up @@ -4,15 +4,15 @@
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
* \/ /____/ version DEV
* \/ /____/ version 2.39.2
* http://terminal.jcubic.pl
*
* This file is part of jQuery Terminal.
*
* Copyright (c) 2011-2023 Jakub T. Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Wed, 20 Mar 2024 22:25:10 +0000
* Date: Wed, 20 Mar 2024 22:50:22 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd-prompt, .cmd-prompt div {
Expand Down Expand Up @@ -103,8 +103,7 @@ body.full-screen-terminal .terminal {
}
body.full-screen-terminal {
height: 100%;
height: 100dvh;
height: calc(var(--terminal-force-height) * 1px);
height: var(--terminal-force-height, 100dvh);
}
.terminal > div.terminal-fill {
min-height: 100%;
Expand Down
6 changes: 3 additions & 3 deletions css/jquery.terminal-2.39.2.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions css/jquery.terminal-src.css
Expand Up @@ -103,8 +103,7 @@ body.full-screen-terminal .terminal {
}
body.full-screen-terminal {
height: 100%;
height: 100dvh;
height: calc(var(--terminal-force-height) * 1px);
height: var(--terminal-force-height, 100dvh);
}
.terminal > div.terminal-fill {
min-height: 100%;
Expand Down
7 changes: 3 additions & 4 deletions css/jquery.terminal.css
Expand Up @@ -4,15 +4,15 @@
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
* \/ /____/ version DEV
* \/ /____/ version 2.39.2
* http://terminal.jcubic.pl
*
* This file is part of jQuery Terminal.
*
* Copyright (c) 2011-2023 Jakub T. Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Wed, 20 Mar 2024 22:25:10 +0000
* Date: Wed, 20 Mar 2024 22:50:22 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd-prompt, .cmd-prompt div {
Expand Down Expand Up @@ -103,8 +103,7 @@ body.full-screen-terminal .terminal {
}
body.full-screen-terminal {
height: 100%;
height: 100dvh;
height: calc(var(--terminal-force-height) * 1px);
height: var(--terminal-force-height, 100dvh);
}
.terminal > div.terminal-fill {
min-height: 100%;
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.

10 changes: 5 additions & 5 deletions js/jquery.terminal-2.39.2.js
Expand Up @@ -4,7 +4,7 @@
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
* \/ /____/ version DEV
* \/ /____/ version 2.39.2
*
* This file is part of jQuery Terminal. https://terminal.jcubic.pl
*
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Wed, 20 Mar 2024 22:25:10 +0000
* Date: Wed, 20 Mar 2024 22:50:21 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5304,8 +5304,8 @@
}
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Wed, 20 Mar 2024 22:25:10 +0000',
version: '2.39.2',
date: 'Wed, 20 Mar 2024 22:50:21 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -12060,7 +12060,7 @@
if ('visualViewport' in window) {
on_height_change(function(height) {
css(document.documentElement, {
'--terminal-force-height': height
'--terminal-force-height': height + 'px'
});
});
}
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal-2.39.2.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.terminal-src.js
Expand Up @@ -12060,7 +12060,7 @@
if ('visualViewport' in window) {
on_height_change(function(height) {
css(document.documentElement, {
'--terminal-force-height': height
'--terminal-force-height': height + 'px'
});
});
}
Expand Down
10 changes: 5 additions & 5 deletions js/jquery.terminal.js
Expand Up @@ -4,7 +4,7 @@
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
* \/ /____/ version DEV
* \/ /____/ version 2.39.2
*
* This file is part of jQuery Terminal. https://terminal.jcubic.pl
*
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Wed, 20 Mar 2024 22:25:10 +0000
* Date: Wed, 20 Mar 2024 22:50:21 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5304,8 +5304,8 @@
}
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Wed, 20 Mar 2024 22:25:10 +0000',
version: '2.39.2',
date: 'Wed, 20 Mar 2024 22:50:21 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -12060,7 +12060,7 @@
if ('visualViewport' in window) {
on_height_change(function(height) {
css(document.documentElement, {
'--terminal-force-height': height
'--terminal-force-height': height + 'px'
});
});
}
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

0 comments on commit 9de5258

Please sign in to comment.