Add support for delete key.

This commit is contained in:
Michael Drake 2013-05-12 19:49:47 +01:00
parent bb9a7bbe6d
commit 0a91a057e9

View File

@ -818,6 +818,10 @@ fb_browser_window_input(fbtk_widget_t *widget, fbtk_callback_info *cbi)
case NSFB_EVENT_KEY_DOWN:
switch (cbi->event->value.keycode) {
case NSFB_KEY_DELETE:
browser_window_key_press(gw->bw, KEY_DELETE_RIGHT);
break;
case NSFB_KEY_PAGEUP:
if (browser_window_key_press(gw->bw,
KEY_PAGE_UP) == false)