aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-10-24 23:39:37 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-10-24 23:39:37 +0200
commit1ff146d3c256782ad976913739a3fef7b57b3fb3 (patch)
tree2c47e9f9f5dcf52107fe394174e03ada922886e7 /editor.h
parentc1d69b6067c896a56fa55c1fdb299cc78065d920 (diff)
downloadvis-1ff146d3c256782ad976913739a3fef7b57b3fb3.tar.gz
vis-1ff146d3c256782ad976913739a3fef7b57b3fb3.tar.xz
Make command prompt available in visual modes
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor.h b/editor.h
index 44c2669..718ca96 100644
--- a/editor.h
+++ b/editor.h
@@ -150,8 +150,8 @@ void editor_window_prev(Editor*);
/* rearrange all windows either vertically or horizontally */
void editor_windows_arrange_vertical(Editor*);
void editor_windows_arrange_horizontal(Editor*);
-/* display a user prompt with a certain title */
-void editor_prompt_show(Editor*, const char *title);
+/* display a user prompt with a certain title and default text */
+void editor_prompt_show(Editor*, const char *title, const char *text);
/* hide the user prompt if it is currently shown */
void editor_prompt_hide(Editor*);
/* return the content of the command prompt in a malloc(3)-ed string