projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix due to Robert de Bath: backspace should not cross line
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
64b5685
..
e1e9716
100644
(file)
--- 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)