From: Aurélien Aptel Date: Thu, 26 Aug 2010 19:32:34 +0000 (+0200) Subject: fix \b and clean \t. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=b09401b96b640a796d11774664c49031cee3245a;p=st.git fix \b and clean \t. --- diff --git a/st.c b/st.c index 6e34f1e..2e0ef70 100644 --- 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++;