=> cc93ae1f855d402ce848791e59a23439cca8b2d1
[1mdiff --git a/src/ui/keys.c b/src/ui/keys.c[m [1mindex a834260f..6a12b5e7 100644[m [1m--- a/src/ui/keys.c[m [1m+++ b/src/ui/keys.c[m [36m@@ -227,7 +227,7 @@[m [mstatic const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =[m #endif[m { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new" }, 0 },[m { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 },[m [31m- { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_PRIMARY | KMOD_SHIFT, "tabs.close toleft:1 toright:1" }, 0 },[m [32m+[m[32m { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 },[m { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 },[m { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 },[m { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 },[m [36m@@ -245,8 +245,8 @@[m [mstatic const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =[m { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 },[m { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 },[m { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 },[m [31m- { 126,{ "${keys.sitespec}", ',', KMOD_PRIMARY | KMOD_SHIFT, "document.sitespec" }, 0 },[m [31m- { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_PRIMARY | KMOD_SHIFT, "input.precedingline" }, 0 },[m [32m+[m[32m { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 },[m [32m+[m[32m { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 },[m { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, [m { 200,{ "${keys.menubar.focus}", SDLK_F10, 0, "menubar.focus" }, 0 },[m { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 },[m [36m@@ -356,7 +356,11 @@[m [mvoid reset_Binding(int id) {[m [m /*----------------------------------------------------------------------------------------------*/[m [m [32m+[m[32m#if defined (iPlatformTerminal)[m [32m+[m[32mstatic const char *filename_Keys_ = "cbindings.txt";[m [32m+[m[32m#else[m static const char *filename_Keys_ = "bindings.txt";[m [32m+[m[32m#endif[m [m void init_Keys(void) {[m iKeys *d = &keys_;[m [1mdiff --git a/src/ui/util.c b/src/ui/util.c[m [1mindex eaf18ac2..0e75bd9b 100644[m [1m--- a/src/ui/util.c[m [1m+++ b/src/ui/util.c[m [36m@@ -955,6 +955,9 @@[m [mvoid setNativeMenuItems_Widget(iWidget *menu, const iMenuItem *items, size_t n)[m [m iWidget *parentMenu_Widget(iWidget *menuItem) {[m if (parent_Widget(menuItem)) {[m [32m+[m[32m if (!cmp_String(id_Widget(parent_Widget(menuItem)), "menu")) {[m [32m+[m[32m return parent_Widget(menuItem);[m [32m+[m[32m }[m return !cmp_String([m id_Widget(as_Widget(back_ObjectList(children_Widget(parent_Widget(menuItem))))),[m "menu.cancel")[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).