summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-11-17 22:52:05 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-11-17 22:52:05 +0000
commit1a796bb52ad039e28bed760d6126677c11f3de68 (patch)
treea19e7222695dd94554b2eae26211db9ab5cea731
parent5e146a01297da565e79c5107ac30ca759e3440af (diff)
Notes
-rw-r--r--gnu/lib/libdialog/dialog.h1
-rw-r--r--gnu/lib/libdialog/kernel.c7
2 files changed, 7 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/dialog.h b/gnu/lib/libdialog/dialog.h
index cb7053f13782..ed4109c95f67 100644
--- a/gnu/lib/libdialog/dialog.h
+++ b/gnu/lib/libdialog/dialog.h
@@ -92,6 +92,7 @@ int dialog_menu(unsigned char *title, unsigned char *prompt, int height, int wid
int dialog_checklist(unsigned char *title, unsigned char *prompt, int height, int width, int list_height, int item_no, unsigned char **items, unsigned char *result);
int dialog_radiolist(unsigned char *title, unsigned char *prompt, int height, int width, int list_height, int item_no, unsigned char **items, unsigned char *result);
int dialog_inputbox(unsigned char *title, unsigned char *prompt, int height, int width, unsigned char *result);
+void dialog_clear_norefresh(void);
void dialog_clear(void);
void dialog_update(void);
void init_dialog(void);
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c
index 9309fecd168e..fe217035aa1b 100644
--- a/gnu/lib/libdialog/kernel.c
+++ b/gnu/lib/libdialog/kernel.c
@@ -406,10 +406,15 @@ void draw_shadow(WINDOW *win, int y, int x, int height, int width)
/* End of draw_shadow() */
#endif
-void dialog_clear(void)
+void dialog_clear_norefresh(void)
{
attr_clear(stdscr, LINES, COLS, screen_attr);
touchwin(stdscr);
+}
+
+void dialog_clear(void)
+{
+ dialog_clear_norefresh();
refresh();
}