diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-15 13:56:35 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-13 23:03:49 +0100 |
| commit | 6d86dc94cffee3fcda48f634fb05556cb861b0b5 (patch) | |
| tree | 6d39cde4af5c4f0de02080046ced36fdfe1f402b /ui.h | |
| parent | 5d54271403b1a90ed7ef81894ea0ff91d7a8c5f6 (diff) | |
| download | vis-6d86dc94cffee3fcda48f634fb05556cb861b0b5.tar.gz vis-6d86dc94cffee3fcda48f634fb05556cb861b0b5.tar.xz | |
Implement command/search prompt history as a regular file
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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*); |
