Skip to content

fix: serialize TTY writes and fix terminal resize/session edge cases - #640

Open
KUASWoodyLIN wants to merge 1 commit into
mainfrom
639-terminal-keystrokes-reorder-under-fast-typing-resize-glitches-and-other-tty-session-bugs
Open

fix: serialize TTY writes and fix terminal resize/session edge cases#640
KUASWoodyLIN wants to merge 1 commit into
mainfrom
639-terminal-keystrokes-reorder-under-fast-typing-resize-glitches-and-other-tty-session-bugs

Conversation

@KUASWoodyLIN

@KUASWoodyLIN KUASWoodyLIN commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator
  • Queue stdin into a single in-flight write to stop keystrokes from reordering under fast typing
  • Debounce remote resize (100ms) and skip resizing while the container is hidden or zero-sized
  • Repaint the xterm viewport's hardcoded black background with the theme color
  • Copy selected text automatically instead of via Ctrl+Shift+C, which collided with the browser's inspect-element shortcut
  • Require Enter to start a new session after one ends instead of auto-reconnecting, and skip the retry prompt when the container never produced any output (unsupported interactive shell)

…edge cases

- Queue stdin into a single in-flight write to stop keystrokes from
  reordering under fast typing
- Debounce remote resize (100ms) and skip resizing while the container
  is hidden or zero-sized
- Repaint the xterm viewport's hardcoded black background with the
  theme color
- Copy selected text automatically instead of via Ctrl+Shift+C, which
  collided with the browser's inspect-element shortcut
- Require Enter to start a new session after one ends instead of
  auto-reconnecting, and skip the retry prompt when the container
  never produced any output (unsupported interactive shell)
@KUASWoodyLIN KUASWoodyLIN changed the title fix(dashboard): serialize TTY writes and fix terminal resize/session … fix: serialize TTY writes and fix terminal resize/session edge cases Aug 26, 2026
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.

Terminal: keystrokes reorder under fast typing, resize glitches, and other TTY session bugs

1 participant