aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-26 09:30:53 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-28 18:38:05 +0200
commit17290f493b3701f57f1e8a1f2d26fc12ab968928 (patch)
tree81239b5206b910323078dfe4696a456bfb6a9b72
parent43d74ef362b7dc5da3232cdc9412981ea6386df6 (diff)
downloadst-17290f493b3701f57f1e8a1f2d26fc12ab968928.tar.gz
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) {
2087 len = snprintf(buf, sizeof(buf),"\033[%i;%iR", 2087 len = snprintf(buf, sizeof(buf),"\033[%i;%iR",
2088 term.c.y+1, term.c.x+1); 2088 term.c.y+1, term.c.x+1);
2089 ttywrite(buf, len); 2089 ttywrite(buf, len);
2090 break;
2091 } 2090 }
2091 break;
2092 case 'r': /* DECSTBM -- Set Scrolling Region */ 2092 case 'r': /* DECSTBM -- Set Scrolling Region */
2093 if(csiescseq.priv) { 2093 if(csiescseq.priv) {
2094 goto unknown; 2094 goto unknown;