Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix arrow keys

  • Loading branch information...
commit 0d6d452757484a4c31b2b25696173c9e273ec0b5 1 parent 243547d
@singpolyma authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  st.c
View
2  st.c
@@ -2703,7 +2703,7 @@ kpress(SDL_Event *ev) {
/* XXX: shift up/down doesn't work */
sprintf(buf, "\033%c%c",
IS_SET(MODE_APPKEYPAD) ? 'O' : '[',
- (shift ? "dacb":"DACB")[ksym - SDLK_LEFT]); // TODO
+ (shift ? "abcd":"ABCD")[ksym - SDLK_UP]); // TODO
ttywrite(buf, 3);
break;
case SDLK_INSERT:
Please sign in to comment.
Something went wrong with that request. Please try again.