You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't see any similar issues and not sure if I am doing something wrong. Any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
taikuukaits
changed the title
Issue with updating a line that has nested formatting
Updating a line that with nested formatting ignores inner format
Nov 22, 2019
taikuukaits
changed the title
Updating a line that with nested formatting ignores inner format
Updating a line with nested formatting ignores inner format
Nov 22, 2019
Expected behavior
Updating a line with nested formatting should respect and display the nested format.
Actual behavior
The inner format text is shown on the terminal. The inner format does not work.
Steps to reproduce
I've reproduced in the forked codepen, all you have to do is this:
{code}
var nestedFormat = "[[b;;] bold [[;green;] green]]";
term.echo("works: " + nestedFormat);
term.echo("broke: " + nestedFormat);
term.update(-1, "broke: " + nestedFormat);
{code}
The works line is what I expect, but you can see the behavior in the broke line.
https://codepen.io/taikuukaits/pen/QWWPEWQ
Browser and OS
Chrome and Windows
I didn't see any similar issues and not sure if I am doing something wrong. Any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: