X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/9b74fcadc46ee78b38b20e9663c6924cd9df7e84..1adf2e3978365c1e530d79372dd9d67f17fb19f7:/config.def.h diff --git a/config.def.h b/config.def.h index b33e9b6..ced3000 100644 --- a/config.def.h +++ b/config.def.h @@ -1,5 +1,5 @@ #define TAB 8 -#define TNAME "xterm" +#define TNAME "st-256color" #define FONT "-*-*-medium-r-*-*-*-120-75-75-*-60-*-*" #define BOLDFONT "-*-*-bold-r-*-*-*-120-75-75-*-60-*-*" #define BORDER 2 @@ -34,6 +34,7 @@ static const char *colorname[] = { /* Special keys */ static Key key[] = { { XK_BackSpace, "\177" }, + { XK_Insert, "\033[2~" }, { XK_Delete, "\033[3~" }, { XK_Home, "\033[1~" }, { XK_End, "\033[4~" },