mirror of
https://github.com/irssi/irssi.git
synced 2025-04-25 20:41:23 -05:00
Modify gui_entry_draw_from to clear to end of line only if it has not
written till the last column. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4449 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1651390651
commit
e2cc91c19a
@ -242,6 +242,7 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos)
|
||||
}
|
||||
|
||||
/* clear the rest of the input line */
|
||||
if (xpos < end_xpos) {
|
||||
if (end_xpos == term_width)
|
||||
term_clrtoeol(root_window);
|
||||
else {
|
||||
@ -250,6 +251,7 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos)
|
||||
xpos++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void gui_entry_draw(GUI_ENTRY_REC *entry)
|
||||
|
Loading…
x
Reference in New Issue
Block a user