Skip to content

feat(pty): per-channel window size - #141

Closed
FlareCoding wants to merge 1 commit into
masterfrom
pr/pty-winsize
Closed

feat(pty): per-channel window size#141
FlareCoding wants to merge 1 commit into
masterfrom
pr/pty-winsize

Conversation

@FlareCoding

Copy link
Copy Markdown
Owner

Summary

  • TIOCGWINSZ hardcoded 80x24 and TIOCSWINSZ was a silent no-op, so terminal emulators could not report their real geometry to pty clients.
  • Each pty channel now stores a winsize, defaulting to the same 80x24 so behavior is unchanged until a terminal sets it.
  • The termios ioctl handler is endpoint-agnostic now and wired into the master ops table too, since termios and winsize are channel-level state and emulators hold the master end.

Made with Cursor

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