SquidDev-CC/mbs

Multishell compatibility

SquidDev opened this issue · 0 comments

Creating a multishell tab and then closing the initial one will crash with window:310: Bad argument #1 (expected string, got nil). We need to listen to term_resize events and correctly adjust the height of the shell.

It might also be worth copying the window API's argument validation. It adds a bit of overhead, but it's probably worth the safety it provides.