From 7c31982244f179cb2f51bb1d81b21ad4efd649ba Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Fri, 10 Jun 2022 19:36:29 +0100 Subject: Various small changes. - Split the compgen and history sorting parts of compgen(), for future dmenu-like work. - Add a separate tofi-compgen executable. - Remove harfbuzz-glib usage, as we shouldn't be doing any complicated unicode stuff. --- src/compgen.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compgen.h') diff --git a/src/compgen.h b/src/compgen.h index 502bcb5..c79f548 100644 --- a/src/compgen.h +++ b/src/compgen.h @@ -4,6 +4,7 @@ #include "history.h" #include "string_vec.h" -struct string_vec compgen(struct history *history); +struct string_vec compgen(void); +void compgen_history_sort(struct string_vec *programs, struct history *history); #endif /* COMPGEN_H */ -- cgit v1.2.3