From b2f0721b6992c732934c2c5063165e412812a96f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 22 Nov 2021 10:50:38 +0100 Subject: [PATCH] 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. --- src/winio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/winio.c b/src/winio.c index 03328cd4..a2649904 100644 --- 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 &&