mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 09:22:43 +00:00
cursor keys now work (per window keypad mode, hmm)
This commit is contained in:
parent
f9f31ad4b3
commit
5642ac87cb
1 changed files with 1 additions and 2 deletions
|
@ -107,7 +107,6 @@ Con_Init (void)
|
|||
|
||||
nonl ();
|
||||
intrflush (stdscr, FALSE);
|
||||
keypad (stdscr, TRUE);
|
||||
|
||||
getmaxyx (stdscr, screen_y, screen_x);
|
||||
output = subwin (stdscr, screen_y - 2, screen_x, 0, 0);
|
||||
|
@ -123,6 +122,7 @@ Con_Init (void)
|
|||
scrollok (status, FALSE);
|
||||
scrollok (input, FALSE);
|
||||
nodelay (input, TRUE);
|
||||
keypad (input, TRUE);
|
||||
|
||||
wclear (output);
|
||||
wbkgdset (status, COLOR_PAIR(4));
|
||||
|
@ -185,7 +185,6 @@ Con_ProcessInput (void)
|
|||
Con_CompleteCommandLine();
|
||||
break;
|
||||
case KEY_BACKSPACE:
|
||||
case '\x7f':
|
||||
if (key_linepos > 1) {
|
||||
strcpy (key_lines[edit_line] + key_linepos - 1,
|
||||
key_lines[edit_line] + key_linepos);
|
||||
|
|
Loading…
Reference in a new issue