Skip to content

Commit

Permalink
fix visible formatting in promot during typing animation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Apr 29, 2024
1 parent 10fd8cf commit f2ee6bb
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 13 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
* allow to use class and other attributes in style XML tags (like `<bold/>` or `<glow/>`)
### Bugfix
* fix alt image attribute
* fix visible formatting in prompt durig animated exec [#938](https://github.com/jcubic/jquery.terminal/issues/938)
* fix visible formatting in prompt after animated exec [#938](https://github.com/jcubic/jquery.terminal/issues/938)
* fix visible formatting in promot during typing animation

## 2.40.6
### Bugfix
Expand Down
8 changes: 5 additions & 3 deletions js/jquery.terminal-2.40.6.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: Mon, 29 Apr 2024 13:29:38 +0000
* Date: Mon, 29 Apr 2024 13:41:31 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5312,7 +5312,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Mon, 29 Apr 2024 13:29:38 +0000',
date: 'Mon, 29 Apr 2024 13:41:31 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -9197,7 +9197,9 @@
if (len > 0) {
var new_prompt = '';
if (options.prompt) {
new_prompt = options.prompt;
new_prompt = $.terminal.apply_formatters(options.prompt, {
prompt: true
});
} else {
self.set_prompt('');
}
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-2.40.6.min.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion js/jquery.terminal-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -9197,7 +9197,9 @@
if (len > 0) {
var new_prompt = '';
if (options.prompt) {
new_prompt = options.prompt;
new_prompt = $.terminal.apply_formatters(options.prompt, {
prompt: true
});
} else {
self.set_prompt('');
}
Expand Down
8 changes: 5 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: Mon, 29 Apr 2024 13:29:38 +0000
* Date: Mon, 29 Apr 2024 13:41:31 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5312,7 +5312,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Mon, 29 Apr 2024 13:29:38 +0000',
date: 'Mon, 29 Apr 2024 13:41:31 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -9197,7 +9197,9 @@
if (len > 0) {
var new_prompt = '';
if (options.prompt) {
new_prompt = options.prompt;
new_prompt = $.terminal.apply_formatters(options.prompt, {
prompt: true
});
} else {
self.set_prompt('');
}
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 f2ee6bb

Please sign in to comment.