mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 23:29:16 +00:00
Add alt+i (info) option
This commit is contained in:
parent
97846f5c1a
commit
3c1709c9b1
@ -3,6 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "vm_event.h"
|
#include "vm_event.h"
|
||||||
|
#include "vm_reflect.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Look through all of the events that are queued up and, whatever we
|
* 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':
|
case 'q':
|
||||||
ev->screen->should_exit = true;
|
ev->screen->should_exit = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'i':
|
||||||
|
vm_reflect_cpu_info(NULL);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user