fixed backspace problem, updated terminfo entry and moved TNAME in config.h.

This commit is contained in:
Aurélien Aptel
2010-08-19 12:46:54 +02:00
parent d2f157c741
commit ce3f4fc647
4 changed files with 12 additions and 7 deletions

6
st.c
View File

@ -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);