aboutsummarylogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel2010-08-19 12:46:54 +0200
committerAurélien Aptel2010-08-19 12:46:54 +0200
commit0b80c69a9e5551fb912dec00d82c6c85e7efa8fc (patch)
tree700752d270d5acb4241276ae9e17c0c8bde76b63 /st.c
parent182723684a727a3a97d697390f8918fcf82e188b (diff)
downloadaur-0b80c69a9e5551fb912dec00d82c6c85e7efa8fc.tar.gz
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 deddb0d2c2e7..f8d2257a270e 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);