lhmouse / nano-win

GNU nano text editor for Windows [WARNING: The master branch is constantly rebased and force-pushed so don't expect it to be steady!! -end WARNING]
https://files.lhmouse.com/nano-win/
GNU General Public License v3.0
210 stars 25 forks source link

Display collapses when the window is resized #31

Closed eggplants closed 2 years ago

eggplants commented 2 years ago

On windows terminal, display collapses when the window is resized. (wsl nano works well even if I resize.)

image

image

image

lhmouse commented 2 years ago

On LInux and WSL, nano responds to the SIGWINCH signal which is delivered upon window resize events. I have disabled it because this signal is not supported by native applications, but if you happen to know how this can be handled by ncurses, please let me know.