about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/input_win.c8
-rw-r--r--src/ui.h1
2 files changed, 1 insertions, 8 deletions
diff --git a/src/input_win.c b/src/input_win.c
index 997044eb..a67ed5ea 100644
--- a/src/input_win.c
+++ b/src/input_win.c
@@ -250,12 +250,6 @@ inp_put_back(void)
     prefresh(inp_win, 0, pad_start, rows-1, 0, rows-1, cols-1);
 }
 
-int
-inp_get_next_char(void)
-{
-    return wgetch(inp_win);
-}
-
 void
 inp_replace_input(char *input, const char * const new_input, int *size)
 {
@@ -293,7 +287,7 @@ _handle_edit(const wint_t ch, char *input, int *size)
 
     case 27: // ESC
         // check for ALT-num
-        next_ch = inp_get_next_char();
+        next_ch = wgetch(inp_win);
         if (next_ch != ERR) {
             switch (next_ch)
             {
diff --git a/src/ui.h b/src/ui.h
index ea0f7618..0a2a6982 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -179,7 +179,6 @@ void inp_non_block(void);
 void inp_block(void);
 void inp_get_password(char *passwd);
 void inp_replace_input(char *input, const char * const new_input, int *size);
-int inp_get_next_char(void);
 
 void notify_remind(void);
 #endif