diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-05-07 21:53:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 21:53:37 -0400 |
commit | 140c6b0a3f56e689f85728548469402e928ade30 (patch) | |
tree | b20ec7e05d5970bdfc7c35bfbf9c89b7541b011b /st.h | |
parent | 35506b44adf9176062f2cc51bcfd54ac79246744 (diff) | |
parent | 3cd91894ec91a0de7aa71d62949ba3381e600afd (diff) |
Merge pull request #69 from YusufAktepe/master
Updated st to 0.8.2
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -3,9 +3,6 @@ #include <stdint.h> #include <sys/types.h> -/* Arbitrary size */ -#define HISTSIZE 2000 - /* macros */ #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) < (b) ? (b) : (a)) @@ -22,8 +19,6 @@ #define TRUECOLOR(r,g,b) (1 << 24 | (r) << 16 | (g) << 8 | (b)) #define IS_TRUECOL(x) (1 << 24 & (x)) -#define TLINE(y) ((y) < term.scr ? term.hist[((y) + term.histi - term.scr \ - + HISTSIZE + 1) % HISTSIZE] : term.line[(y) - term.scr]) enum glyph_attribute { ATTR_NULL = 0, @@ -94,6 +89,8 @@ void draw(void); void externalpipe(const Arg *); void iso14755(const Arg *); +void kscrolldown(const Arg *); +void kscrollup(const Arg *); void printscreen(const Arg *); void printsel(const Arg *); void sendbreak(const Arg *); @@ -124,18 +121,15 @@ void *xmalloc(size_t); void *xrealloc(void *, size_t); char *xstrdup(char *); -void kscrolldown(const Arg *); -void kscrollup(const Arg *); - /* config.h globals */ extern char *utmp; extern char *stty_args; extern char *vtiden; -extern char *worddelimiters; +extern wchar_t *worddelimiters; extern int allowaltscreen; extern char *termname; extern unsigned int tabspaces; -extern unsigned int alpha; extern unsigned int defaultfg; extern unsigned int defaultbg; +extern float alpha; extern MouseKey mkeys[]; |