Skip to content

Commit

Permalink
Remove unnecessary input win redisplay
Browse files Browse the repository at this point in the history
The redisplay function in keyboard handling event was introduced by @rodarima
in the following commit:
7eac636

At the point first commit introduction it made sense, but later
the following commit added proper handling of input redisplay.
ccede06

This change was overlooked by me and introduced in #1943.

Potential solution for #1947.
  • Loading branch information
H3rnand3zzz committed Jan 18, 2024
1 parent 609fde0 commit 6b2e1b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ui/inputwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6b2e1b2

Please sign in to comment.