Skip to content

Conversation

@mitchellh
Copy link
Contributor

This implements full compatibility with xterm for CUB (backspace and CSI D). I found numerous bugs or missing features in our implementation that are now fixed:

  • Implement mode 45 (reverse wrap): cursor left wraps back up a row for soft-wrapped text
  • Implement mode 1045 (extended reverse wrap): cursor left wraps back up for all rows and will wrap around to the bottom of the scroll region once at the top
  • Scroll region awareness, including left/right even though we don't allow changing that yet
  • Test cases for all functionality
@mitchellh mitchellh merged commit 9499dbb into main Oct 6, 2023
@mitchellh mitchellh deleted the xt-cursor-left branch October 6, 2023 16:28
@mitchellh mitchellh mentioned this pull request Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants