=> 1ef64c80a7d2ea87b0f0026e42a06a0e8fb2176b
[1mdiff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c[m [1mindex 6f4c3a6b..35907150 100644[m [1m--- a/src/ui/inputwidget.c[m [1m+++ b/src/ui/inputwidget.c[m [36m@@ -2427,11 +2427,7 @@[m [mstatic iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) {[m const int key = ev->key.keysym.sym;[m const int mods = keyMods_Sym(ev->key.keysym.mod);[m #if !LAGRANGE_USE_SYSTEM_TEXT_INPUT[m [31m-# if !defined (iPlatformTerminal)[m [31m- if (mods == KMOD_PRIMARY) {[m [31m-# else[m [31m- if (mods == KMOD_SECONDARY) {[m [31m-# endif[m [32m+[m[32m if (mods == KMOD_UNDO) {[m switch (key) {[m case 'c':[m case 'x':[m [1mdiff --git a/src/ui/util.h b/src/ui/util.h[m [1mindex 97c7f6bc..0ab40abb 100644[m [1m--- a/src/ui/util.h[m [1m+++ b/src/ui/util.h[m [36m@@ -87,16 +87,19 @@[m [miInt2 coord_MouseWheelEvent (const SDL_MouseWheelEvent *);[m # define KMOD_PRIMARY KMOD_CTRL[m # define KMOD_SECONDARY KMOD_ALT[m # define KMOD_ACCEPT KMOD_ALT[m [32m+[m[32m# define KMOD_UNDO KMOD_ALT[m # define KMOD_ZOOM 0[m #elif defined (iPlatformApple)[m # define KMOD_PRIMARY KMOD_GUI[m # define KMOD_SECONDARY KMOD_GUI | KMOD_SHIFT[m # define KMOD_ACCEPT KMOD_PRIMARY[m [32m+[m[32m# define KMOD_UNDO KMOD_PRIMARY[m # define KMOD_ZOOM KMOD_PRIMARY[m #else[m # define KMOD_PRIMARY KMOD_CTRL[m # define KMOD_SECONDARY KMOD_CTRL | KMOD_SHIFT[m # define KMOD_ACCEPT KMOD_PRIMARY[m [32m+[m[32m# define KMOD_UNDO KMOD_PRIMARY[m # define KMOD_ZOOM KMOD_PRIMARY[m #endif[m [m
text/gemini; charset=utf-8
This content has been proxied by September (3851b).