about summary refs log tree commit diff stats
path: root/src/ui/inputwin.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-08-28 00:50:15 +0100
committerJames Booth <boothj5@gmail.com>2013-08-28 00:50:15 +0100
commit9ef7e2d233733d32514420c7dd52c104d4fd3f6b (patch)
tree6e02827e7a0da6c956666c7fa98f174e5b03b3c5 /src/ui/inputwin.c
parentb5eb095820e95a225f6d8a4748c291ddff236146 (diff)
downloadprofani-tty-9ef7e2d233733d32514420c7dd52c104d4fd3f6b.tar.gz
Changes to status bar for unlimited windows - WIP
Diffstat (limited to 'src/ui/inputwin.c')
-rw-r--r--src/ui/inputwin.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index 0ab53131..b6162938 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -526,34 +526,34 @@ _handle_alt_key(char *input, int *size, int key)
     switch (key)
     {
         case '1':
-            ui_switch_win(0);
+            ui_switch_win(1);
             break;
         case '2':
-            ui_switch_win(1);
+            ui_switch_win(2);
             break;
         case '3':
-            ui_switch_win(2);
+            ui_switch_win(3);
             break;
         case '4':
-            ui_switch_win(3);
+            ui_switch_win(4);
             break;
         case '5':
-            ui_switch_win(4);
+            ui_switch_win(5);
             break;
         case '6':
-            ui_switch_win(5);
+            ui_switch_win(6);
             break;
         case '7':
-            ui_switch_win(6);
+            ui_switch_win(7);
             break;
         case '8':
-            ui_switch_win(7);
+            ui_switch_win(8);
             break;
         case '9':
-            ui_switch_win(8);
+            ui_switch_win(9);
             break;
         case '0':
-            ui_switch_win(9);
+            ui_switch_win(0);
             break;
         case 263:
         case 127: