Comment by someguyiguess
13 hours ago
Interesting. On first glance that seems over engineered. I wonder what the reason is for doing it that way?
13 hours ago
Interesting. On first glance that seems over engineered. I wonder what the reason is for doing it that way?
If you don't do it that way then resizing the terminal corrupts what's on screen.
It's possible to handle resizes without all this machinery, most simply by clearing the screen and redrawing everything when a resize occurs. Some TUI libraries will automatically do this for you.
Programs like top, emacs, tmux, etc are most definitely not implemented using this stack, yet they handle resizing just fine.
Vibecoded ?
Claude made it /s