Skip to content
Snippets Groups Projects
Commit 12ad773a authored by rswindell's avatar rswindell
Browse files

handle_ctrlkey() now interprets ESC[F (Xterm sends) as the End key

- same as ESC[K and ^E.
parent 77bc4504
No related branches found
No related tags found
No related merge requests found
......@@ -282,9 +282,10 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
return(CTRL_F); /* ctrl-f (rt arrow) */
case 'D':
return(0x1d); /* ctrl-] (lf arrow) */
case 'H':
case 'H': /* ANSI: home cursor */
return(CTRL_B); /* ctrl-b (beg line) */
case 'K':
case 'F' /* Xterm: cursor preceding line */
case 'K': /* ANSI: clear-to-end-of-line */
return(CTRL_E); /* ctrl-e (end line) */
}
ungetkey(ESC);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment