From 6d86dc94cffee3fcda48f634fb05556cb861b0b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 15 Nov 2015 13:56:35 +0100 Subject: Implement command/search prompt history as a regular file --- vis.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'vis.h') diff --git a/vis.h b/vis.h index d783eea..8905be1 100644 --- a/vis.h +++ b/vis.h @@ -79,16 +79,7 @@ void vis_window_name(Win*, const char *filename); void vis_window_next(Vis*); void vis_window_prev(Vis*); /* display a user prompt with a certain title and default text */ -void vis_prompt_show(Vis*, const char *title, const char *text); -/* execute current prompt content as command, as if the user had pressed */ -void vis_prompt_enter(Vis*); /* TODO: bad abstraction */ -/* hide the user prompt if it is currently shown */ -void vis_prompt_hide(Vis*); -/* return the content of the command prompt in a malloc(3)-ed string - * which the call site has to free. */ -char *vis_prompt_get(Vis*); -/* replace the current command line content with the one given */ -void vis_prompt_set(Vis*, const char *line); +void vis_prompt_show(Vis*, const char *title); /* display a message to the user */ void vis_info_show(Vis*, const char *msg, ...); @@ -124,7 +115,6 @@ enum VisMode { VIS_MODE_OPERATOR_PENDING, VIS_MODE_VISUAL, VIS_MODE_VISUAL_LINE, - VIS_MODE_PROMPT, VIS_MODE_INSERT, VIS_MODE_REPLACE, VIS_MODE_LAST, -- cgit v1.2.3