diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-24 00:37:32 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-24 00:37:32 +0100 |
commit | 3c2de33c958405c282a0d27d4bdddda434dbfa99 (patch) | |
tree | aeb26fd00ce0f1cbbf4b9960f0c938f160e49428 | |
parent | 13d7a0cd875bf24a5fe5bf3df8aa0d7f52ab1102 (diff) |
sfeed_curses: fix a wrong comment about the arrow left and right keys
Add autocmd comment.
-rw-r--r-- | sfeed_curses.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfeed_curses.c b/sfeed_curses.c index 299baaa..4072fdd 100644 --- a/sfeed_curses.c +++ b/sfeed_curses.c @@ -952,7 +952,7 @@ readch(void) struct timeval tv; if (cmdenv && *cmdenv) - return *(cmdenv++); + return *(cmdenv++); /* $SFEED_AUTOCMD */ for (;;) { FD_ZERO(&readfds); @@ -2108,8 +2108,8 @@ main(int argc, char *argv[]) break; case 'A': goto keyup; /* arrow up */ case 'B': goto keydown; /* arrow down */ - case 'C': goto keyright; /* arrow left */ - case 'D': goto keyleft; /* arrow right */ + case 'C': goto keyright; /* arrow right */ + case 'D': goto keyleft; /* arrow left */ case 'F': goto endpos; /* end */ case 'H': goto startpos; /* home */ case '1': /* home */ |