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

Correct processing of short versions of SGR #7

Open
pozemka opened this issue Jan 9, 2020 · 1 comment
Open

Correct processing of short versions of SGR #7

pozemka opened this issue Jan 9, 2020 · 1 comment

Comments

@pozemka
Copy link
Owner

pozemka commented Jan 9, 2020

All common sequences just use the parameters as a series of semicolon-separated numbers such as 1;2;3. Missing numbers are treated as 0 (1;;3 acts like the middle number is 0, and no parameters at all in ESC[m acts like a 0 reset code).

1;;3
ESC[m
@pozemka
Copy link
Owner Author

pozemka commented Apr 21, 2020

See https://en.wikipedia.org/wiki/ANSI_escape_code CSI sequences section

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