mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 06:39:43 +03:00
weeding: remove a workaround for VTE that is not needed
It was only ever needed when the user lied about the size of the terminal, which should be considered a user error. It was a workaround for https://savannah.gnu.org/bugs/?48852.
This commit is contained in:
parent
9da23799ff
commit
39705c60df
@ -407,10 +407,6 @@ void draw_the_promptbar(void)
|
||||
|
||||
wattroff(bottomwin, interface_color_pair[TITLE_BAR]);
|
||||
|
||||
/* Work around a cursor-misplacement bug in VTEs. */
|
||||
wmove(bottomwin, 0, 0);
|
||||
wrefresh(bottomwin);
|
||||
|
||||
/* Place the cursor at the right spot. */
|
||||
column = base + wideness(answer, typing_x);
|
||||
wmove(bottomwin, 0, column - get_statusbar_page_start(base, column));
|
||||
|
Loading…
Reference in New Issue
Block a user