diff options
| author | Albert Cervin <albert@acervin.com> | 2023-01-23 21:56:39 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-01-23 21:56:39 +0100 |
| commit | 9eda570311ffd292d333f7687074403ff46cc838 (patch) | |
| tree | 40265e3d2c23831afaf352bb64b8d6634bae9730 /src/minibuffer.h | |
| parent | 385c9d62a5507d901ff7e54d7a4c0342cf3aff43 (diff) | |
| download | dged-9eda570311ffd292d333f7687074403ff46cc838.tar.gz dged-9eda570311ffd292d333f7687074403ff46cc838.tar.xz dged-9eda570311ffd292d333f7687074403ff46cc838.zip | |
Implement some more commands
- More bug fixes for keys: You can now have mod-less keys in keymaps as
binds.
- Fix calculation bug with space fillouts.
Diffstat (limited to 'src/minibuffer.h')
| -rw-r--r-- | src/minibuffer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/minibuffer.h b/src/minibuffer.h index 9bdde8f..ec24f49 100644 --- a/src/minibuffer.h +++ b/src/minibuffer.h @@ -4,9 +4,16 @@ #include <time.h> struct buffer; +struct command_ctx; + void minibuffer_init(struct buffer *buffer); void minibuffer_echo(const char *fmt, ...); void minibuffer_echo_timeout(uint32_t timeout, const char *fmt, ...); + +void minibuffer_prompt(struct command_ctx command_ctx, const char *fmt, ...); +void minibuffer_abort_prompt(); + void minibuffer_clear(); bool minibuffer_displaying(); +bool minibuffer_focused(); |
