1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-24 15:29:32 +00:00

Add alt+i (info) option

This commit is contained in:
Peter Evans 2018-02-07 00:02:53 -06:00
parent 97846f5c1a
commit 3c1709c9b1

View File

@ -3,6 +3,7 @@
*/
#include "vm_event.h"
#include "vm_reflect.h"
/*
* Look through all of the events that are queued up and, whatever we
@ -100,6 +101,10 @@ vm_event_keyboard_special(vm_event *ev, char ch)
case 'q':
ev->screen->should_exit = true;
break;
case 'i':
vm_reflect_cpu_info(NULL);
break;
}
}
}