Skip to content

Commit

Permalink
fix sync commands and dynamic prompt #922 #923
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Apr 14, 2024
1 parent 9fb8235 commit 53a43c7
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
### Bugfix
* fix init and resize of long prompt [#919](https://github.com/jcubic/jquery.terminal/issues/919)
* fix occasional selecting Accessibility label (about clipboard textarea) in CMD
* fix sync commands and dynamic prompt [#923](https://github.com/jcubic/jquery.terminal/issues/923) [#922](https://github.com/jcubic/jquery.terminal/issues/922)

## 2.39.3
### Bugfix
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COMMIT=`git log -n 1 | grep '^commit' | sed 's/commit //'`
TOKEN=cat .github.token | tr -d '\n'
URL=`git config --get remote.origin.url`
skip_re="[xfi]it\\(|[fdx]describe\\("
UPDATE_CONTRIBUTORS=0
UPDATE_CONTRIBUTORS=1

.PHONY: coverage test coveralls lint.src eslint skipped_tests jsonlint publish lint tscheck publish-guthub emoji

Expand Down
2 changes: 1 addition & 1 deletion css/emoji.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 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: Tue, 09 Apr 2024 19:12:05 +0000
* Date: Sun, 14 Apr 2024 19:34:38 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd-prompt, .cmd-prompt div {
Expand Down
2 changes: 1 addition & 1 deletion 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.

3 changes: 3 additions & 0 deletions js/jquery.terminal-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -8656,6 +8656,9 @@
return $.when(result).done(show).catch(error);
}
} else {
if (exec) {
command_line.refresh();
}
if (paused) {
resume_callbacks.push(function() {
// exec with resume/pause in user code
Expand Down
8 changes: 6 additions & 2 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: Tue, 09 Apr 2024 18:42:45 +0000
* Date: Sun, 14 Apr 2024 19:34:37 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -2498,6 +2498,7 @@
'SHIFT+INSERT': paste_event,
'CTRL+SHIFT+T': return_true, // open closed tab
'CTRL+W': delete_backward({clipboard: true, hold: false}),
'CTRL+BACKSPACE': delete_backward({clipboard: true, hold: false}),
'HOLD+BACKSPACE': delete_backward({clipboard: false, hold: true}),
'HOLD+SHIFT+BACKSPACE': delete_backward({clipboard: false, hold: true}),
'CTRL+H': function() {
Expand Down Expand Up @@ -5306,7 +5307,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Tue, 09 Apr 2024 18:42:45 +0000',
date: 'Sun, 14 Apr 2024 19:34:37 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -8655,6 +8656,9 @@
return $.when(result).done(show).catch(error);
}
} else {
if (exec) {
command_line.refresh();
}
if (paused) {
resume_callbacks.push(function() {
// exec with resume/pause in user code
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 53a43c7

Please sign in to comment.