From 4fa2efc7caa4362cd172ef9d69cf9324b928e1d3 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 1 Nov 2015 18:45:57 +0000 Subject: [PATCH] Removed inp_win_clear() --- src/ui/inputwin.c | 9 --------- src/ui/inputwin.h | 1 - 2 files changed, 10 deletions(-) diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 038e1dda..b6f69220 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -264,15 +264,6 @@ inp_put_back(void) _inp_win_update_virtual(); } -void -inp_win_clear(void) -{ - werase(inp_win); - wmove(inp_win, 0, 0); - pad_start = 0; - _inp_win_update_virtual(); -} - static void _inp_win_update_virtual(void) { diff --git a/src/ui/inputwin.h b/src/ui/inputwin.h index 7a45afde..8a2991f8 100644 --- a/src/ui/inputwin.h +++ b/src/ui/inputwin.h @@ -42,7 +42,6 @@ void create_input_window(void); void inp_nonblocking(gboolean reset); void inp_close(void); -void inp_win_clear(void); void inp_win_resize(void); void inp_put_back(void); char* inp_get_password(void);