aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-08-19 12:46:54 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-08-19 12:46:54 +0200
commit66efdff768c305b785234a918c67a687d437380d (patch)
tree6e58a363b7cf818e0a3ff32bdcab95a68db8e64e /st.c
parentb0672d093221133dd58c01ca5498ebf9ebb29ee5 (diff)
downloadst-66efdff768c305b785234a918c67a687d437380d.tar.gz
st-66efdff768c305b785234a918c67a687d437380d.tar.bz2
fixed backspace problem, updated terminfo entry and moved TNAME in config.h.
Diffstat (limited to 'st.c')
-rw-r--r--st.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/st.c b/st.c
index deddb0d..f8d2257 100644
--- a/st.c
+++ b/st.c
@@ -20,8 +20,6 @@
#include <X11/keysym.h>
#include <X11/Xutil.h>
-#define TNAME "st-256color"
-
/* Arbitrary sizes */
#define ESC_TITLE_SIZ 256
#define ESC_BUF_SIZ 256
@@ -107,8 +105,6 @@ typedef struct {
char s[ESC_BUF_SIZ];
} Key;
-#include "config.h"
-
/* Drawing Context */
typedef struct {
unsigned long col[256];
@@ -117,6 +113,8 @@ typedef struct {
GC gc;
} DC;
+#include "config.h"
+
static void die(const char *errstr, ...);
static void draw(int);
static void execsh(void);