Move show_menu() to terminal-util.h

This commit is contained in:
Daan De Meyer
2024-10-02 15:05:24 +02:00
parent 70bc8b3f0c
commit ec75a254d2
3 changed files with 48 additions and 46 deletions
+1
View File
@@ -79,6 +79,7 @@ int read_one_char(FILE *f, char *ret, usec_t timeout, bool *need_nl);
int ask_char(char *ret, const char *replies, const char *text, ...) _printf_(3, 4);
int ask_string(char **ret, const char *text, ...) _printf_(2, 3);
bool any_key_to_proceed(void);
int show_menu(char **x, unsigned n_columns, unsigned width, unsigned percentage);
int vt_disallocate(const char *name);