X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/4d794b3479cc586de7796d9b060b2eb469a6500d..cf65699a29683bff9d50187c18b160e21a538f48:/config.h diff --git a/config.h b/config.h index b66985f..5d91627 100644 --- a/config.h +++ b/config.h @@ -6,7 +6,7 @@ #define LINESPACE 1 /* additional pixel between each line */ /* Terminal colors */ -static char* colorname[] = { +static const char *colorname[] = { "black", "red", "green", @@ -24,9 +24,10 @@ static char* colorname[] = { #define DefaultCS 1 #define BellCol DefaultFG + /* special keys */ -static char* key[] = { - [XK_Delete] = "\033[3~", +static const char *key[] = { + [XK_Delete] = "\033[3~", [XK_Home] = "\033[1~", [XK_End] = "\033[4~", [XK_Prior] = "\033[5~",