Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leading space not honored #19

Open
JakeWharton opened this issue Nov 20, 2020 · 1 comment
Open

Leading space not honored #19

JakeWharton opened this issue Nov 20, 2020 · 1 comment

Comments

@JakeWharton
Copy link

I'm not sure exactly the underlying cause, but I do have a reproducer:

echo -e "\e[30;43m RUNS \e[39;49m tests/\e[1mlogin.kt\e[22m"

The terminal looks like this:
Screen Shot 2020-11-19 at 11 56 33 PM

The Asciinema looks like this:
https://asciinema.org/a/YXcL46YjbPxvrvbEiCUkW5lq7

The Asciinema JSON contains the correct output:

[1.025222, "o", "\u001b[30;43m RUNS \u001b[39;49m tests/\u001b[1mlogin.kt\u001b[22m\r\n"]

svg-term (via svg-term-cli) looks like this:
space
This is a gif recording of Firefox rendering. Chrome renders the same.

@JakeWharton
Copy link
Author

Looks related to what's happening in #11?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant