Skip to content

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

Merged
FlareCoding merged 1 commit into
masterfrom
pr/pty-winsize
Jul 30, 2026
Merged

feat(pty): per-channel window size#144
FlareCoding merged 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.

Supersedes #141, which became unmergeable after GitHub flagged it as a stack.

Made with Cursor

@FlareCoding
FlareCoding merged commit e3d2138 into master Jul 30, 2026
20 checks passed
@FlareCoding
FlareCoding deleted the pr/pty-winsize branch July 30, 2026 21:30
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