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 --- ui.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui.h') diff --git a/ui.h b/ui.h index e8beded..6c5b63d 100644 --- a/ui.h +++ b/ui.h @@ -24,6 +24,7 @@ enum UiOption { UI_OPTION_SYMBOL_EOF = 1 << 6, UI_OPTION_CURSOR_LINE = 1 << 7, UI_OPTION_STATUSBAR = 1 << 8, + UI_OPTION_ONELINE = 1 << 9, }; enum UiStyles { @@ -48,10 +49,6 @@ struct Ui { UiWin* (*window_new)(Ui*, View*, File*, enum UiOption); void (*window_free)(UiWin*); void (*window_focus)(UiWin*); - UiWin* (*prompt_new)(Ui*, View*, File*); - void (*prompt)(Ui*, const char *title, const char *value); - char* (*prompt_input)(Ui*); - void (*prompt_hide)(Ui*); void (*die)(Ui*, const char *msg, va_list ap) __attribute__((noreturn)); void (*info)(Ui*, const char *msg, va_list ap); void (*info_hide)(Ui*); -- cgit v1.2.3