aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/command.c b/src/command.c
index b18a98b14..fa7fe2e3a 100644
--- a/src/command.c
+++ b/src/command.c
@@ -391,22 +391,12 @@ get_key_command(int key)
return find_key_command(key, cmds);
}
-int
-my_wgetch(WINDOW *w)
-{
- int c;
-
- c = wgetch(w);
-
- return c;
-}
-
command_t
get_keyboard_command(void)
{
int key;
- key = my_wgetch(stdscr);
+ key = wgetch(stdscr);
if (key == ERR)
return CMD_NONE;