Skip to content

Commit

Permalink
fix hidden cursor when using command that change --size #968
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Sep 22, 2024
1 parent 2f9d5d6 commit b43e61b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 2.43.3
### Bugfix
* fix number of rows when using different `--size` [#969](https://github.com/jcubic/jquery.terminal/issues/969)
* fix hidden cursor when using command that change `--size` [#968](https://github.com/jcubic/jquery.terminal/issues/968)

## 2.43.2
### Bugfix
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.terminal-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -10843,7 +10843,7 @@
// Firefox won't reflow the cursor automatically, so
// hide it briefly then reshow it
cmd_cursor.hide();
self.oneTime(1, 'flush', function() {
setTimeout(function() {
cmd_cursor.show();
});
}
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Sat, 21 Sep 2024 22:03:59 +0000
* Date: Sun, 22 Sep 2024 10:44:34 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5323,7 +5323,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Sat, 21 Sep 2024 22:03:59 +0000',
date: 'Sun, 22 Sep 2024 10:44:34 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -10843,7 +10843,7 @@
// Firefox won't reflow the cursor automatically, so
// hide it briefly then reshow it
cmd_cursor.hide();
self.oneTime(1, 'flush', function() {
setTimeout(function() {
cmd_cursor.show();
});
}
Expand Down
4 changes: 2 additions & 2 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 b43e61b

Please sign in to comment.