fix \b and clean \t.

This commit is contained in:
Aurélien Aptel 2010-08-26 21:32:34 +02:00
parent d1084bfdab
commit c81ea29001

5
st.c
View File

@ -443,11 +443,6 @@ tmovecursor(int dir) {
break; break;
case CURSOR_LEFT: case CURSOR_LEFT:
xf--; xf--;
if(term.mode & MODE_WRAP && xf < 0) {
xf = term.col-1, yf--;
if(yf < term.top)
yf = term.top, xf = 0;
}
break; break;
case CURSOR_RIGHT: case CURSOR_RIGHT:
xf++; xf++;