Fix misplaced break - st - simple terminal
HTML git clone https://git.parazyd.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 17290f493b3701f57f1e8a1f2d26fc12ab968928
DIR parent 43d74ef362b7dc5da3232cdc9412981ea6386df6
HTML 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:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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;