summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero2014-04-26 09:30:53 +0200
committerRoberto E. Vargas Caballero2014-04-28 18:38:05 +0200
commit17290f493b3701f57f1e8a1f2d26fc12ab968928 (patch)
tree81239b5206b910323078dfe4696a456bfb6a9b72
parent43d74ef362b7dc5da3232cdc9412981ea6386df6 (diff)
downloadst-17290f493b3701f57f1e8a1f2d26fc12ab968928.tar.gz
st-17290f493b3701f57f1e8a1f2d26fc12ab968928.tar.xz
st-17290f493b3701f57f1e8a1f2d26fc12ab968928.zip
Fix misplaced break
This misplaced break was causing an incorrect fall through from DSR to DECSTBM.
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 2945c1b..bd0c59e 100644
--- 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;