fix \b and clean \t.

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

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++;