fix \b and clean \t.
authorAurélien Aptel <aurelien.aptel@gmail.com>
Thu, 26 Aug 2010 19:32:34 +0000 (21:32 +0200)
committerAurélien Aptel <aurelien.aptel@gmail.com>
Thu, 26 Aug 2010 19:32:34 +0000 (21:32 +0200)
st.c

diff --git a/st.c b/st.c
index 6e34f1e..2e0ef70 100644 (file)
--- a/st.c
+++ b/st.c
@@ -443,11 +443,6 @@ tmovecursor(int dir) {
                break;
        case CURSOR_LEFT:
                xf--;
-               if(term.mode & MODE_WRAP && xf < 0) {
-                       xf = term.col-1, yf--;
-                       if(yf < term.top)
-                               yf = term.top, xf = 0;
-               }
                break;
        case CURSOR_RIGHT:
                xf++;