commit 67b89459d51b3785058a1b4b533de1266e9ad9db
parent 6d916c6c4a1714e9ab83c975040dd62e3a277f97
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 29 Dec 2019 14:14:08 +0100
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.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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);
}