mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-23 02:42:11 +03:00
Add support for delete key.
This commit is contained in:
parent
bb9a7bbe6d
commit
0a91a057e9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user