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
commitce3f4fc647be3ab28f934db9365445a56ebd85bf (patch)
tree6e58a363b7cf818e0a3ff32bdcab95a68db8e64e /st.c
parentd2f157c7418e2762316e5471f819ec1e5c49e93c (diff)
downloadst-ce3f4fc647be3ab28f934db9365445a56ebd85bf.tar.gz
st-ce3f4fc647be3ab28f934db9365445a56ebd85bf.tar.bz2
st-ce3f4fc647be3ab28f934db9365445a56ebd85bf.zip
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);