Skip to content

fix CSI default parameter#47

Merged
kdj0c merged 1 commit into
kmscon:mainfrom
kdj0c:fix_csi_default
Jun 2, 2026
Merged

fix CSI default parameter#47
kdj0c merged 1 commit into
kmscon:mainfrom
kdj0c:fix_csi_default

Conversation

@kdj0c

@kdj0c kdj0c commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

if a parameter is omitted, it should be set to 0.

So the following sequences should be equivalent:
\x1b[0;90m
\x1b[;90m

And with this fix, they are now equivalent.

Fixes #46

if a parameter is omitted, it should be set to 0.

So the following sequences should be equivalent:
\x1b[0;90m
\x1b[;90m

And with this fix, they are now equivalent.u
@kdj0c kdj0c merged commit b5394a4 into kmscon:main Jun 2, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

bug in SGR loop w.r.t empty SGR parameters

1 participant