Aw, exit() doesn't work?
In any event, I can live with esc-to-quit (is there a callback to hook into?)
This commit is contained in:
parent
e18eb36c52
commit
c385ad096b
|
|
@ -42,7 +42,7 @@ draw_char(u8 ch, u64 dest_x, u64 dest_y)
|
||||||
void
|
void
|
||||||
keydown(u64 window_id, u16 keycode)
|
keydown(u64 window_id, u16 keycode)
|
||||||
{
|
{
|
||||||
if (KEY_BACKSPACE == keycode) {
|
if (KEY_TAB == keycode) {
|
||||||
print_str("bye! ");
|
print_str("bye! ");
|
||||||
print_i64(keycode);
|
print_i64(keycode);
|
||||||
print_endl();
|
print_endl();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue