summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/toxic/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c
index fffc3f84..cdc6dc16 100644
--- a/testing/toxic/main.c
+++ b/testing/toxic/main.c
@@ -305,6 +305,9 @@ int main(int argc, char* argv[]) {
305 if(ch == '\t') { 305 if(ch == '\t') {
306 w_active = (w_active + 1) % w_num; 306 w_active = (w_active + 1) % w_num;
307 } 307 }
308 else if(ch == KEY_BTAB) {
309 w_active = (w_active + w_num - 1) % w_num;
310 }
308 else if(ch != ERR) { 311 else if(ch != ERR) {
309 a->onKey(a, ch); 312 a->onKey(a, ch);
310 } 313 }