Introduction
Introduction Statistics Contact Development Disclaimer Help
tAdding support for XK_F35. - st - [fork] customized build of st, the simple te…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit a29ab30f256439dd701a475bb0c51eb2d02cafa9
parent 90e1427632d6c5852d10c8d2bafa787012903eb9
Author: Christoph Lohmann <[email protected]>
Date: Thu, 15 Nov 2012 20:00:46 +0100
Adding support for XK_F35.
Diffstat:
M config.def.h | 43 ++++++++++++++++++++++++-----…
1 file changed, 33 insertions(+), 10 deletions(-)
---
diff --git a/config.def.h b/config.def.h
t@@ -54,6 +54,16 @@ static unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
static unsigned int defaultucs = 257;
+/* Internal shortcuts. */
+#define MODKEY Mod1Mask
+
+static Shortcut shortcuts[] = {
+ /* modifier key function argument…
+ { MODKEY|ShiftMask, XK_Prior, xzoom, {.i …
+ { MODKEY|ShiftMask, XK_Next, xzoom, {.i =…
+ { ShiftMask, XK_Insert, selpaste, {.i = …
+};
+
/*
* Special keys (change & recompile st.info accordingly)
*
t@@ -224,15 +234,28 @@ static Key key[] = {
{ XK_F12, /* F36 */ ControlMask, "\033[24;5~", 0, 0, 0},
{ XK_F12, /* F48 */ Mod2Mask, "\033[24;6~", 0, 0, 0},
{ XK_F12, /* F60 */ Mod1Mask, "\033[24;3~", 0, 0, 0},
-};
-
-/* Internal shortcuts. */
-#define MODKEY Mod1Mask
-
-static Shortcut shortcuts[] = {
- /* modifier key function argument…
- { MODKEY|ShiftMask, XK_Prior, xzoom, {.i …
- { MODKEY|ShiftMask, XK_Next, xzoom, {.i =…
- { ShiftMask, XK_Insert, selpaste, {.i = …
+ { XK_F13, XK_NO_MOD, "\033[1;2P", 0, 0, 0},
+ { XK_F14, XK_NO_MOD, "\033[1;2Q", 0, 0, 0},
+ { XK_F15, XK_NO_MOD, "\033[1;2R", 0, 0, 0},
+ { XK_F16, XK_NO_MOD, "\033[1;2S", 0, 0, 0},
+ { XK_F17, XK_NO_MOD, "\033[15;2~", 0, 0, 0},
+ { XK_F18, XK_NO_MOD, "\033[17;2~", 0, 0, 0},
+ { XK_F19, XK_NO_MOD, "\033[18;2~", 0, 0, 0},
+ { XK_F20, XK_NO_MOD, "\033[19;2~", 0, 0, 0},
+ { XK_F21, XK_NO_MOD, "\033[20;2~", 0, 0, 0},
+ { XK_F22, XK_NO_MOD, "\033[21;2~", 0, 0, 0},
+ { XK_F23, XK_NO_MOD, "\033[23;2~", 0, 0, 0},
+ { XK_F24, XK_NO_MOD, "\033[24;2~", 0, 0, 0},
+ { XK_F25, XK_NO_MOD, "\033[1;5P", 0, 0, 0},
+ { XK_F26, XK_NO_MOD, "\033[1;5Q", 0, 0, 0},
+ { XK_F27, XK_NO_MOD, "\033[1;5R", 0, 0, 0},
+ { XK_F28, XK_NO_MOD, "\033[1;5S", 0, 0, 0},
+ { XK_F29, XK_NO_MOD, "\033[15;5~", 0, 0, 0},
+ { XK_F30, XK_NO_MOD, "\033[17;5~", 0, 0, 0},
+ { XK_F31, XK_NO_MOD, "\033[18;5~", 0, 0, 0},
+ { XK_F32, XK_NO_MOD, "\033[19;5~", 0, 0, 0},
+ { XK_F33, XK_NO_MOD, "\033[20;5~", 0, 0, 0},
+ { XK_F34, XK_NO_MOD, "\033[21;5~", 0, 0, 0},
+ { XK_F35, XK_NO_MOD, "\033[23;5~", 0, 0, 0},
};
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.