diff --git a/testing/toxic/main.c b/testing/toxic/main.c index 26325d95..cdc6dc16 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c @@ -304,10 +304,10 @@ int main(int argc, char* argv[]) { ch = getch(); if(ch == '\t') { w_active = (w_active + 1) % w_num; - } + } else if(ch == KEY_BTAB) { w_active = (w_active + w_num - 1) % w_num; - } + } else if(ch != ERR) { a->onKey(a, ch); }