rlcurrall / muxi

2 stars 0 forks source link

Resizing does not work correctly #1

Open rlcurrall opened 2 months ago

rlcurrall commented 2 months ago

When resizing the terminal I'm seeing odd behavior.

On Linux, the resizing seems to cause the pty to render incorrectly and sometimes not render anything, example below:

https://github.com/user-attachments/assets/0bf31a43-ef0e-4535-98eb-6aef71f6fc9b

A similar issue is happening on Windows but instead of the pty rendering oddly it seems to not render anything at all.

rlcurrall commented 2 months ago

Doesn't seem to be an issue on windows. Granted I was building with Go 1.22 before and on Go 1.23 the issue isn't present. I'll need to see if the updated Go version helps resolve the issue for linux.

rlcurrall commented 2 months ago

Never mind, definitely broken on windows...

If you are using Win+Arrow to snap the window to the left/right/corner of the screen it seems to resize just fine, but if you use the mouse to manually resize the window it seems to break pretty bad.