1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Remove unnecessary input win redisplay

The redisplay function in keyboard handling event was introduced by @rodarima
in the following commit:
7eac636fc8

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

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

Potential solution for #1947.
This commit is contained in:
John Hernandez 2024-01-18 18:15:55 +01:00
parent 609fde0998
commit 6b2e1b28b2
No known key found for this signature in database
GPG Key ID: 00B2D64859378A94

View File

@ -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();