JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed backspace problem, updated terminfo entry and moved TNAME in config.h.
[st.git] / st.c
diff --git a/st.c b/st.c
index deddb0d..f8d2257 100644 (file)
--- 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);