netbsd-curses
netbsd-curses copied to clipboard
bug in linux terminal with mc and nano
- open a linux terminal
- run midnight commander
- in midnight commander, run
nano inexistant_file
- nano opens, close it with CTRL-X
now you get a black screen with a blinking cursor.
the cursor transformed from previously
_
to[]
style, i.e. it looks like an insert-mode cursor. - quit mc py pressing F10.
the cursor still is
[]
, and the terminal state is messed up. text you enter is not visible. need to typereset
to get the terminal back into a usable state.
the same happens after opening/closing hexedit(0r), so it's probably not nano's fault.