From fda3d627137e2c27371d2c1763c2379913d842f5 Mon Sep 17 00:00:00 2001 From: Carlos Ortiz Date: Fri, 15 Mar 2019 22:18:32 -0600 Subject: [PATCH] Added Tab Cycle --- src/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.c b/src/main.c index 0b72e3d..e609c6c 100644 --- a/src/main.c +++ b/src/main.c @@ -122,6 +122,13 @@ int main(int argc, char** argv) { break; } + else if (event.key == TB_KEY_TAB) { + ++active_input; + if (active_input > 2) + { + active_input = 0; + } + } else if ((event.key == TB_KEY_ARROW_UP) && (active_input > 0)) { --active_input;