From c024147504a4a1b3a6b1e40f5120bc57248f0531 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 8 Aug 2018 21:48:30 -0400 Subject: Add commands to tab complete --- input.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'input.c') diff --git a/input.c b/input.c index e4c4672..0ac64f5 100644 --- a/input.c +++ b/input.c @@ -99,3 +99,9 @@ void input(char *input) { } uiFmt("%s isn't a recognized command", command); } + +void inputTab(void) { + for (size_t i = 0; i < COMMANDS_LEN; ++i) { + tabTouch(COMMANDS[i].command); + } +} -- cgit 1.4.1-2-gfad0