From 3c2de33c958405c282a0d27d4bdddda434dbfa99 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Thu, 24 Feb 2022 00:37:32 +0100 Subject: sfeed_curses: fix a wrong comment about the arrow left and right keys Add autocmd comment. --- sfeed_curses.c | 6 +++--- 1 file 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 */ -- cgit v1.2.3