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 7c236b9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
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
5 changes: 3 additions & 2 deletions js/jquery.terminal-2.40.6.js
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:34:13 +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:34:13 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -9192,6 +9192,7 @@
}
animating = true;
var prompt = self.get_prompt();
prompt = $.terminal.apply_formatters(prompt, {prompt: true});
var char_i = 0;
var len = $.terminal.length(formatted);
if (len > 0) {
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-2.40.6.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/jquery.terminal-src.js
Expand Up @@ -9192,6 +9192,7 @@
}
animating = true;
var prompt = self.get_prompt();
prompt = $.terminal.apply_formatters(prompt, {prompt: true});
var char_i = 0;
var len = $.terminal.length(formatted);
if (len > 0) {
Expand Down
5 changes: 3 additions & 2 deletions js/jquery.terminal.js
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:34:13 +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:34:13 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -9192,6 +9192,7 @@
}
animating = true;
var prompt = self.get_prompt();
prompt = $.terminal.apply_formatters(prompt, {prompt: true});
var char_i = 0;
var len = $.terminal.length(formatted);
if (len > 0) {
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 7c236b9

Please sign in to comment.