From 3a8ae83aa13636679c151027cace905fa87ebd8e Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 14 Jun 2023 00:03:47 +0200 Subject: Implement replace + autocomplete Autocomplete is currently a POC and works only with find-file. --- src/dged/minibuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dged/minibuffer.h') diff --git a/src/dged/minibuffer.h b/src/dged/minibuffer.h index 24f54cf..98a4db8 100644 --- a/src/dged/minibuffer.h +++ b/src/dged/minibuffer.h @@ -59,8 +59,8 @@ void minibuffer_echo_timeout(uint32_t timeout, const char *fmt, ...); int32_t minibuffer_prompt(struct command_ctx command_ctx, const char *fmt, ...); int32_t minibuffer_prompt_interactive(struct command_ctx command_ctx, - void (*update_callback)(), - const char *fmt, ...); + void (*update_callback)(void *), + void *userdata, const char *fmt, ...); void minibuffer_set_prompt(const char *fmt, ...); -- cgit v1.2.3