aboutsummarylogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorAurélien Aptel2011-01-23 12:30:01 +0100
committerAurélien Aptel2011-01-23 12:30:01 +0100
commitf83f84fefc62cf0b4fb7b14c2a94de2dcee93d8e (patch)
treeefdf3be294b83831c06aab6f90338fd06c760dbb /config.def.h
parenta95d654de31f530bb777fec5c8d21e320cbe83d5 (diff)
downloadaur-f83f84fefc62cf0b4fb7b14c2a94de2dcee93d8e.tar.gz
fix insert key, terminfo and changed TERM back to st. (thx Ondrej Martinek)
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index b33e9b6e9535..ced300063c08 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~" },