commit 3c2de33c958405c282a0d27d4bdddda434dbfa99
parent 13d7a0cd875bf24a5fe5bf3df8aa0d7f52ab1102
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 24 Feb 2022 00:37:32 +0100
sfeed_curses: fix a wrong comment about the arrow left and right keys
Add autocmd comment.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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 */