aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vis-prompt.c7
-rw-r--r--vis.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/vis-prompt.c b/vis-prompt.c
index bb1db39..1add11a 100644
--- a/vis-prompt.c
+++ b/vis-prompt.c
@@ -205,10 +205,3 @@ void vis_message_show(Vis *vis, const char *msg) {
view_cursor_to(win->view, pos);
vis_window_focus(win);
}
-
-void vis_message_hide(Vis *vis) {
- if (!vis->message_window)
- return;
- vis_window_close(vis->message_window);
- vis->message_window = NULL;
-}
diff --git a/vis.h b/vis.h
index 441d184..85a458a 100644
--- a/vis.h
+++ b/vis.h
@@ -248,8 +248,6 @@ void vis_info_hide(Vis*);
/** Display arbitrary long message in a dedicated window. */
void vis_message_show(Vis*, const char *msg);
-/** Close message window. */
-void vis_message_hide(Vis*);
/**
* @}
* @defgroup vis_changes