mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-28 21:29:47 +03:00
tweaks: drop a fragment of code that became functionless
This fragment suppressed the cursor when it was on the bottom row of
the terminal and a message was displayed on the status bar. But since
commit a2a00577
from eight days ago, the cursor will be scrolled off
of the bottom row when there is a message.
This commit is contained in:
parent
b228c9fe6c
commit
b2f0721b69
@ -192,9 +192,6 @@ void read_keys_from(WINDOW *win)
|
||||
if (reveal_cursor && !hide_cursor && (LINES > 1 || lastmessage <= HUSH))
|
||||
curs_set(1);
|
||||
|
||||
if (ISSET(ZERO) && openfile->current_y == editwinrows - 1 && lastmessage > HUSH)
|
||||
curs_set(0);
|
||||
|
||||
#ifndef NANO_TINY
|
||||
if (currmenu == MMAIN && (spotlighted || ((ISSET(MINIBAR) || LINES == 1) &&
|
||||
lastmessage > HUSH &&
|
||||
|
Loading…
Reference in New Issue
Block a user