commit b2f0721b6992c732934c2c5063165e412812a96f
parent b228c9fe6cc44855fe7670a0b2fa121d85346728
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 22 Nov 2021 10:50:38 +0100
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.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/winio.c b/src/winio.c
@@ -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 &&