Skip to content

Commit

Permalink
fix visible formatting in prompt durig animated exec #938
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Apr 29, 2024
1 parent 5f2b77b commit 655a296
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
* 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)

## 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:06:58 +0000
* Date: Mon, 29 Apr 2024 13:29:38 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5312,7 +5312,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Mon, 29 Apr 2024 13:06:58 +0000',
date: 'Mon, 29 Apr 2024 13:29:38 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -9328,6 +9328,7 @@
self.set_prompt(prompt);
with_prompt(prompt, function(prompt) {
var command = mask_command(message);
prompt = $.terminal.apply_formatters(prompt, {prompt: true});
command = $.terminal.apply_formatters(command, {command: true});
var output = prompt + command;
options = $.extend({}, options, {
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 @@ -9328,6 +9328,7 @@
self.set_prompt(prompt);
with_prompt(prompt, function(prompt) {
var command = mask_command(message);
prompt = $.terminal.apply_formatters(prompt, {prompt: true});
command = $.terminal.apply_formatters(command, {command: true});
var output = prompt + command;
options = $.extend({}, options, {
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:06:58 +0000
* Date: Mon, 29 Apr 2024 13:29:38 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5312,7 +5312,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Mon, 29 Apr 2024 13:06:58 +0000',
date: 'Mon, 29 Apr 2024 13:29:38 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -9328,6 +9328,7 @@
self.set_prompt(prompt);
with_prompt(prompt, function(prompt) {
var command = mask_command(message);
prompt = $.terminal.apply_formatters(prompt, {prompt: true});
command = $.terminal.apply_formatters(command, {command: true});
var output = prompt + command;
options = $.extend({}, options, {
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 655a296

Please sign in to comment.