st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit 17290f493b3701f57f1e8a1f2d26fc12ab968928
parent 43d74ef362b7dc5da3232cdc9412981ea6386df6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 26 Apr 2014 09:30:53 +0200

Fix misplaced break

This misplaced break was causing an incorrect fall through
from DSR to DECSTBM.

Diffstat:
Mst.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
@@ -2087,8 +2087,8 @@ csihandle(void) {
             len = snprintf(buf, sizeof(buf),"\033[%i;%iR",
                     term.c.y+1, term.c.x+1);
             ttywrite(buf, len);
-            break;
         }
+        break;
     case 'r': /* DECSTBM -- Set Scrolling Region */
         if(csiescseq.priv) {
             goto unknown;