summaryrefslogtreecommitdiffstats
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
parentrenamed a function. (diff)
downloadst-ce3f4fc647be3ab28f934db9365445a56ebd85bf.tar.gz
st-ce3f4fc647be3ab28f934db9365445a56ebd85bf.zip
fixed backspace problem, updated terminfo entry and moved TNAME in config.h.
Diffstat (limited to '')
-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 @@
20#include <X11/keysym.h> 20#include <X11/keysym.h>
21#include <X11/Xutil.h> 21#include <X11/Xutil.h>
22 22
23#define TNAME "st-256color"
24
25/* Arbitrary sizes */ 23/* Arbitrary sizes */
26#define ESC_TITLE_SIZ 256 24#define ESC_TITLE_SIZ 256
27#define ESC_BUF_SIZ 256 25#define ESC_BUF_SIZ 256
@@ -107,8 +105,6 @@ typedef struct {
107 char s[ESC_BUF_SIZ]; 105 char s[ESC_BUF_SIZ];
108} Key; 106} Key;
109 107
110#include "config.h"
111
112/* Drawing Context */ 108/* Drawing Context */
113typedef struct { 109typedef struct {
114 unsigned long col[256]; 110 unsigned long col[256];
@@ -117,6 +113,8 @@ typedef struct {
117 GC gc; 113 GC gc;
118} DC; 114} DC;
119 115
116#include "config.h"
117
120static void die(const char *errstr, ...); 118static void die(const char *errstr, ...);
121static void draw(int); 119static void draw(int);
122static void execsh(void); 120static void execsh(void);