Fix misplaced break

This misplaced break was causing an incorrect fall through
from DSR to DECSTBM.
This commit is contained in:
Roberto E. Vargas Caballero 2014-04-26 09:30:53 +02:00
parent 43d74ef362
commit 17290f493b

2
st.c
View file

@ -2087,8 +2087,8 @@ csihandle(void) {
len = snprintf(buf, sizeof(buf),"\033[%i;%iR", len = snprintf(buf, sizeof(buf),"\033[%i;%iR",
term.c.y+1, term.c.x+1); term.c.y+1, term.c.x+1);
ttywrite(buf, len); ttywrite(buf, len);
break;
} }
break;
case 'r': /* DECSTBM -- Set Scrolling Region */ case 'r': /* DECSTBM -- Set Scrolling Region */
if(csiescseq.priv) { if(csiescseq.priv) {
goto unknown; goto unknown;