From 1ff146d3c256782ad976913739a3fef7b57b3fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 24 Oct 2014 23:39:37 +0200 Subject: Make command prompt available in visual modes --- editor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor.h') 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 -- cgit v1.2.3