diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -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 */ |
| 113 | typedef struct { | 109 | typedef 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 | |||
| 120 | static void die(const char *errstr, ...); | 118 | static void die(const char *errstr, ...); |
| 121 | static void draw(int); | 119 | static void draw(int); |
| 122 | static void execsh(void); | 120 | static void execsh(void); |
