From 1d04ab39b4164bb59c0854d2f42127ea7f460b92 Mon Sep 17 00:00:00 2001 From: clpr Date: Thu, 1 Aug 2013 18:48:50 +0100 Subject: Add back-tab support for toxic. --- testing/toxic/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testing') 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[]) { 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); } -- cgit v1.2.3