aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/vis.h b/vis.h
index 477ffe4..f749a63 100644
--- a/vis.h
+++ b/vis.h
@@ -81,10 +81,14 @@ void vis_window_prev(Vis*);
/* display a user prompt with a certain title and default text */
void vis_prompt_show(Vis*, const char *title);
-/* display a message to the user */
+/* display a one line message to the user, will be hidden upon keypress */
void vis_info_show(Vis*, const char *msg, ...);
void vis_info_hide(Vis*);
+/* display an arbitrary long message in a special window/file */
+void vis_message_show(Vis*, const char *msg);
+void vis_message_hide(Vis*);
+
/* these function operate on the currently focused window but make sure
* that all windows which show the affected region are redrawn too. */
void vis_insert(Vis*, size_t pos, const char *data, size_t len);