Skip to content

Added SetSize functionality#39

Merged
creack merged 1 commit into
creack:masterfrom
JonathanLogan:TerminalResize
Jan 6, 2018
Merged

Added SetSize functionality#39
creack merged 1 commit into
creack:masterfrom
JonathanLogan:TerminalResize

Conversation

@JonathanLogan
Copy link
Copy Markdown
Contributor

Added terminal/pty resize functionality and utility function to inherit size from master's pty to slave. Changes type winsize to make it accessible from outside the package.

…it size from master's pty to slave. Changes type winsize to make it accessible from outside the package.
Copy link
Copy Markdown

@dlundquist dlundquist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been looking to building a remote terminal application using this, but the asymmetry between server and client (in an SSH/telnet context) functions is a blocker. Adding SetSize() would be provide parity with GetSize(). Have you considered just introducing SetSize() and simply accepting a rows and columns arguments rather than exposing winsize?

@janflyborg
Copy link
Copy Markdown

Just curious if you intend to merge this?

@creack creack mentioned this pull request Jan 6, 2018
@creack creack merged commit f4f01f5 into creack:master Jan 6, 2018
@creack creack mentioned this pull request Jan 6, 2018
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.

4 participants