In fact, it isn't fixed.  It just happened that on my two machines I use
VTE-based terminals, and somehow they don't allow the window to be made
smaller than four columns.  But xterm allows reducing the window to just
one column -- and with anything less than four columns, nano goes down.

Nano goes down deliberately when the window gets narrower than four
columns, but... I don't think it should do that.  No other console
editor does that.  Vim and joe and Emacs all stay alive even in a one-
column terminal.  So I think nano should do the same.  Emacs stops
outputting anything to the screen when the terminal is narrower than six
columns (probably because by then things are entirely unreadable).  Nano
could do something similar, also because it is an easy fix: simply skip
all display activity when COLS < 4.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1522598

Title:
  nano crashes when resizing terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1522598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to