Skip to content

Commit

Permalink
fix flash of old dynamic prompt on enter #926
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Apr 26, 2024
1 parent 98ff064 commit a27192e
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
@@ -1,3 +1,7 @@
## 2.40.4
### Bugfix
* fix flash of old dynamic prompt on enter [#926](https://github.com/jcubic/jquery.terminal/issues/926)

## 2.40.3
### Bugfix
* fix `new_formatter` to allow usage of XML tags in formatter
Expand All @@ -20,7 +24,6 @@
* fix sync commands and dynamic prompt [#923](https://github.com/jcubic/jquery.terminal/issues/923)
* fix calling `onCommandChange` when command don't change
* fix sequence of animations in echo without newline [#930](https://github.com/jcubic/jquery.terminal/issues/930)
* fix flash of old dynamic prompt on enter [#926](https://github.com/jcubic/jquery.terminal/issues/926)
* fix ignoring colors and style when using JSON attributes in formatting

## 2.39.3
Expand Down
13 changes: 6 additions & 7 deletions js/jquery.terminal-2.40.3.js
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Fri, 26 Apr 2024 21:00:26 +0000
* Date: Fri, 26 Apr 2024 22:26:18 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5310,7 +5310,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: '2.40.3',
date: 'Fri, 26 Apr 2024 21:00:26 +0000',
date: 'Fri, 26 Apr 2024 22:26:18 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -8668,7 +8668,9 @@
} else {
after_exec();
}
return deferred.promise();
if (exec) {
return deferred.promise();
}
}
}
// -----------------------------------------------------------------
Expand Down Expand Up @@ -8734,10 +8736,7 @@
self.clear();
after_exec();
} else {
var ret = invoke();
if (ret) {
return ret;
}
return invoke();
}
return deferred.promise();
} catch (e) {
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-2.40.3.min.js

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions js/jquery.terminal-src.js
Expand Up @@ -8668,7 +8668,9 @@
} else {
after_exec();
}
return deferred.promise();
if (exec) {
return deferred.promise();
}
}
}
// -----------------------------------------------------------------
Expand Down Expand Up @@ -8734,10 +8736,7 @@
self.clear();
after_exec();
} else {
var ret = invoke();
if (ret) {
return ret;
}
return invoke();
}
return deferred.promise();
} catch (e) {
Expand Down
13 changes: 6 additions & 7 deletions js/jquery.terminal.js
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Fri, 26 Apr 2024 21:00:26 +0000
* Date: Fri, 26 Apr 2024 22:26:18 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5310,7 +5310,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: '2.40.3',
date: 'Fri, 26 Apr 2024 21:00:26 +0000',
date: 'Fri, 26 Apr 2024 22:26:18 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -8668,7 +8668,9 @@
} else {
after_exec();
}
return deferred.promise();
if (exec) {
return deferred.promise();
}
}
}
// -----------------------------------------------------------------
Expand Down Expand Up @@ -8734,10 +8736,7 @@
self.clear();
after_exec();
} else {
var ret = invoke();
if (ret) {
return ret;
}
return invoke();
}
return deferred.promise();
} catch (e) {
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 a27192e

Please sign in to comment.