1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

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.
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(); ui_reset_idle_time();
if (!get_password) {
// Update the input buffer on screen
_inp_write(rl_line_buffer, rl_point);
}
if (inp_line) { if (inp_line) {
ProfWin* window = wins_get_current(); ProfWin* window = wins_get_current();