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

only record explicit params (don't default to 0) #3

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

vito
Copy link
Contributor

@vito vito commented Oct 5, 2024

Without this change, a sequence like \e[C will be interpreted as \e[0C, which is incorrect. We need to keep track of whether a param was actually passed so that each individual sequence can determine its own default with GetOrDefault (m = 0, C = 1, etc).

without this change, a sequence like \e[C will be interpreted as \e[0C,
which is incorrect. we need to keep track of whether a param was
actually passed so that each individual sequence can determine its own
default (m = 0, C = 1, etc)

Signed-off-by: Alex Suraci <[email protected]>
@danielgatis danielgatis merged commit ebed725 into danielgatis:main Oct 6, 2024
@vito vito deleted the fix-param-defaults branch October 6, 2024 19:31
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.

2 participants