summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 1 insertions, 2 deletions
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