cs01 / termpair

View and control terminals from your browser with end-to-end encryption 🔒
MIT License
1.61k stars 72 forks source link

auto-size browser terminal to match actual terminal upon initial connection #62

Closed cs01 closed 3 years ago

cs01 commented 3 years ago

Describe the bug

Upon intial connection, terminal size is hardcoded. Only when the unix terminal is resized is the actual size sent to the browser.

How to reproduce Share a very large terminal and run top. Observe it looks wrong.

Expected behavior

Should have the correct size from the start.