From 67b89459d51b3785058a1b4b533de1266e9ad9db Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 29 Dec 2019 14:14:08 +0100 Subject: [PATCH] tweaks: drop an unneeded call of keypad() -- we never read from topwin The title bar is used only for showing things, never for typing anything into. That is: we never call wgetch() with 'topwin' as an argument. --- src/nano.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index 25a070b4..edfd6490 100644 --- a/src/nano.c +++ b/src/nano.c @@ -646,7 +646,6 @@ void window_init(void) /* When not disabled, turn escape-sequence translation on. */ if (!ISSET(RAW_SEQUENCES)) { - keypad(topwin, TRUE); keypad(edit, TRUE); keypad(bottomwin, TRUE); }