Skip to content

Add SWIG wrapping of Terminal::DrawState and add it to pkg/mosh/terminal

Daniel Selifonov requested to merge wrap-drawstate into master

Added a Go type pkg/mosh/terminal/DrawState with GetWidth() and GetHeight() methods. Also added shorthand methods to the pkg version of Terminal::Framebuffer with the same names.

Need to be able to read the current window dimensions of a framebuffer to detect size changes in response to processing Resize events.

Closes #4 (closed) .

Merge request reports