X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.h;h=8c37b1608667e41a5b4c8951325bab18e7492d8a;hb=326586ba434fb873ebdb81f385ebe838419a98a7;hp=c3c4e419cc118d253f91b3d62e35fb2d8f356a8d;hpb=ce3f4fc647be3ab28f934db9365445a56ebd85bf;p=st.git diff --git a/config.h b/config.h index c3c4e41..8c37b16 100644 --- a/config.h +++ b/config.h @@ -1,7 +1,7 @@ #define TAB 8 #define TNAME "st-256color" #define FONT "6x13" -#define BOLDFONT FONT"bold" +#define BOLDFONT "6x13bold" #define BORDER 2 /* Terminal colors */ @@ -29,7 +29,6 @@ static const char *colorname[] = { #define DefaultFG 7 #define DefaultBG 0 #define DefaultCS 1 -#define BellCol DefaultFG /* special keys */ static Key key[] = { @@ -39,6 +38,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[] = {