nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 39705c60df9f90447c440e8a8124bd478e679670
parent 9da23799ffa0c3c800b2db864cc986580120596e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 26 Nov 2020 18:53:23 +0100

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.

Diffstat:
Msrc/prompt.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/prompt.c b/src/prompt.c @@ -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));