aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.c b/st.c
index 11ea9fc..e6bb91f 100644
--- a/st.c
+++ b/st.c
@@ -1835,6 +1835,7 @@ kpress(XEvent *ev) {
1835 case XK_Down: 1835 case XK_Down:
1836 case XK_Left: 1836 case XK_Left:
1837 case XK_Right: 1837 case XK_Right:
1838 /* XXX: shift up/down doesn't work */
1838 sprintf(buf, "\033%c%c", IS_SET(MODE_APPKEYPAD) ? 'O' : '[', (shift ? "dacb":"DACB")[ksym - XK_Left]); 1839 sprintf(buf, "\033%c%c", IS_SET(MODE_APPKEYPAD) ? 'O' : '[', (shift ? "dacb":"DACB")[ksym - XK_Left]);
1839 ttywrite(buf, 3); 1840 ttywrite(buf, 3);
1840 break; 1841 break;