summaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2023-11-16 05:25:14 +0000
committerAiden Gall <aiden@aidengall.xyz>2023-11-16 05:25:14 +0000
commit09d3ab2294c8113e45cf7a64902989ba45bb748a (patch)
tree1cf21ff0fda20dff9a666f47d3b8eb1aa007d218 /st.h
parent9846a56bd7fdc86bf788db04bbbcbde7b7eb9952 (diff)
parent9d5d2c66ff51eb021137f71b6a672ba102d297fd (diff)
merge branch 'custom'
Diffstat (limited to 'st.h')
-rw-r--r--st.h28
1 files changed, 17 insertions, 11 deletions
diff --git a/st.h b/st.h
index fd3b0d8..73903f6 100644
--- a/st.h
+++ b/st.h
@@ -22,17 +22,19 @@
enum glyph_attribute {
ATTR_NULL = 0,
- ATTR_BOLD = 1 << 0,
- ATTR_FAINT = 1 << 1,
- ATTR_ITALIC = 1 << 2,
- ATTR_UNDERLINE = 1 << 3,
- ATTR_BLINK = 1 << 4,
- ATTR_REVERSE = 1 << 5,
- ATTR_INVISIBLE = 1 << 6,
- ATTR_STRUCK = 1 << 7,
- ATTR_WRAP = 1 << 8,
- ATTR_WIDE = 1 << 9,
- ATTR_WDUMMY = 1 << 10,
+ ATTR_SET = 1 << 0,
+ ATTR_BOLD = 1 << 1,
+ ATTR_FAINT = 1 << 2,
+ ATTR_ITALIC = 1 << 3,
+ ATTR_UNDERLINE = 1 << 4,
+ ATTR_BLINK = 1 << 5,
+ ATTR_REVERSE = 1 << 6,
+ ATTR_INVISIBLE = 1 << 7,
+ ATTR_STRUCK = 1 << 8,
+ ATTR_WRAP = 1 << 9,
+ ATTR_WIDE = 1 << 10,
+ ATTR_WDUMMY = 1 << 11,
+ ATTR_SELECTED = 1 << 12,
ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT,
};
@@ -81,6 +83,8 @@ void die(const char *, ...);
void redraw(void);
void draw(void);
+void kscrolldown(const Arg *);
+void kscrollup(const Arg *);
void printscreen(const Arg *);
void printsel(const Arg *);
void sendbreak(const Arg *);
@@ -88,6 +92,7 @@ void toggleprinter(const Arg *);
int tattrset(int);
void tnew(int, int);
+int tisaltscreen(void);
void tresize(int, int);
void tsetdirtattr(int);
void ttyhangup(void);
@@ -124,3 +129,4 @@ extern unsigned int tabspaces;
extern unsigned int defaultfg;
extern unsigned int defaultbg;
extern unsigned int defaultcs;
+extern float alpha;