From 967a161ed00ad6ea80a12bf0e0c6a9304755ddd3 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 9 May 2001 12:48:01 +0000 Subject: [PATCH] Fix due to Robert de Bath: backspace should not cross line boundaries when auto wrap is disabled. git-svn-id: svn://svn.tartarus.org/sgt/putty@1101 cda61777-01e9-0310-a592-d414129be87e --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 64b5685b..e1e97167 100644 --- a/terminal.c +++ b/terminal.c @@ -1010,7 +1010,7 @@ void term_out(void) } break; case '\b': - if (curs.x == 0 && curs.y == 0); + if (curs.x == 0 && (curs.y == 0 || wrap == 0)); else if (curs.x == 0 && curs.y > 0) curs.x = cols - 1, curs.y--; else if (wrapnext) -- 2.11.0