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

xterm audit: DEC mode 3 (DECCOLM), 4 (DECSCLM), 40 (132COLS) #870

Merged
merged 4 commits into from
Nov 13, 2023
Merged

Conversation

mitchellh
Copy link
Contributor

@mitchellh mitchellh commented Nov 13, 2023

Changes:

  • DECCOLM should not force the column width on manual resize.
  • DECCOLM with 132COLS disabled should reset mode 3
  • DECSCLM is tracked but has no effect

Todo, not strictly required:

  • Technically, DECCOLM should resize the window or show a scrollbar if it's too small/big. DECCOLM is so rare and not used in practice that I didn't want to introduce the complexity. In any case, it doesn't affect the terminal state correctness.

@mitchellh mitchellh mentioned this pull request Nov 13, 2023
@mitchellh mitchellh merged commit f3c4c87 into main Nov 13, 2023
4 checks passed
@mitchellh mitchellh deleted the xt branch November 13, 2023 06:21
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.

1 participant