diff options
Diffstat (limited to '')
-rw-r--r-- | src/screen_utils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c index 6029596bd..5dfc42630 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -28,7 +28,6 @@ #include <stdlib.h> #include <unistd.h> -#include <string.h> #define FIND_PROMPT _("Find: ") #define RFIND_PROMPT _("Find backward: ") @@ -46,13 +45,11 @@ int screen_getch(WINDOW *w, const char *prompt) { int key = -1; - int prompt_len = strlen(prompt); colors_use(w, COLOR_STATUS_ALERT); wclear(w); wmove(w, 0, 0); waddstr(w, prompt); - wmove(w, 0, prompt_len); echo(); curs_set(1); |