1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 07:33:25 +01:00

Merge pull request #241 from clpr/master

Add back-tab support for toxic.
This commit is contained in:
irungentoo 2013-08-01 11:11:13 -07:00
commit 2ce4907107

3
main.c
View File

@ -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);
}