JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
moved term.hidec in term.c for consistency, put back delay in xbell()
[st.git] / config.h
index c3c4e41..53795c6 100644 (file)
--- a/config.h
+++ b/config.h
@@ -30,6 +30,7 @@ static const char *colorname[] = {
 #define DefaultBG 0
 #define DefaultCS 1
 #define BellCol   DefaultFG
+#define BellTime  30000 /* microseconds */
 
 /* special keys */
 static Key key[] = {
@@ -39,6 +40,18 @@ static Key key[] = {
        { XK_End,    "\033[4~" },
        { XK_Prior,  "\033[5~" },
        { XK_Next,   "\033[6~" },
+       { XK_F1,        "\033OP"   },
+       { XK_F2,        "\033OQ"   },
+       { XK_F3,        "\033OR"   },
+       { XK_F4,        "\033OS"   },
+       { XK_F5,        "\033[15~" },
+       { XK_F6,        "\033[17~" },
+       { XK_F7,        "\033[18~" },
+       { XK_F8,        "\033[19~" },
+       { XK_F9,        "\033[20~" },
+       { XK_F10,       "\033[21~" },
+       { XK_F11,       "\033[23~" },
+       { XK_F12,       "\033[24~" },
 };
 
 static char gfx[] = {