mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 07:38:06 -05:00
Fix due to Robert de Bath: backspace should not cross line
boundaries when auto wrap is disabled. [originally from svn r1101]
This commit is contained in:
parent
19b6dcc1ae
commit
9318b84598
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user