From 6b2e1b28b243cf72a128759e19b9ff0bdb37a0fb Mon Sep 17 00:00:00 2001 From: John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> Date: Thu, 18 Jan 2024 18:15:55 +0100 Subject: [PATCH] Remove unnecessary input win redisplay The redisplay function in keyboard handling event was introduced by @rodarima in the following commit: 7eac636fc80016dbf18eea60a7d59576dd2a4925 At the point first commit introduction it made sense, but later the following commit added proper handling of input redisplay. ccede06a658bf609ba5cf5b536740d4983b02603 This change was overlooked by me and introduced in #1943. Potential solution for #1947. --- src/ui/inputwin.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 979b0b0a..1b09c448 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -181,10 +181,6 @@ _inp_callback(GIOChannel* source, GIOCondition condition, gpointer data) } ui_reset_idle_time(); - if (!get_password) { - // Update the input buffer on screen - _inp_write(rl_line_buffer, rl_point); - } if (inp_line) { ProfWin* window = wins_get_current();