summaryrefslogtreecommitdiff
path: root/testing/toxic/main.c
diff options
context:
space:
mode:
authorclpr <renedescartesyoloswag@gmail.com>2013-08-01 18:48:50 +0100
committerclpr <renedescartesyoloswag@gmail.com>2013-08-01 18:48:50 +0100
commit1d04ab39b4164bb59c0854d2f42127ea7f460b92 (patch)
treeeace068669fc5208f26ee4c25e4eb455ebf2e827 /testing/toxic/main.c
parentaee2d059df1dd742826582d6b144ddbb7ede7198 (diff)
Add back-tab support for toxic.
Diffstat (limited to 'testing/toxic/main.c')
-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 }