From 0f1fd2eb3ab83df73e225c894b2a1824431551f4 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 7 Mar 2016 23:15:57 +0100 Subject: Update NEWS, cleanup --- degesch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'degesch.c') diff --git a/degesch.c b/degesch.c index 838ec34..c22600d 100644 --- a/degesch.c +++ b/degesch.c @@ -213,7 +213,7 @@ struct input_vtable void (*hide) (void *input); /// Show the prompt if hidden void (*show) (void *input); - /// Change the prompt string; takes ownership + /// Retrieve current prompt string const char *(*get_prompt) (void *input); /// Change the prompt string; takes ownership void (*set_prompt) (void *input, char *prompt); @@ -222,7 +222,6 @@ struct input_vtable /// Create a new input buffer input_buffer_t (*buffer_new) (void *input); - // XXX: there's also destroy_buffer /// Destroy an input buffer void (*buffer_destroy) (void *input, input_buffer_t buffer); /// Switch to a different input buffer -- cgit v1.2.3-54-g00ecf