Add scrollback-ringbuffer and scrollback-altscreen (allows scrolling with mouse wheel)

This commit is contained in:
Mike Wilson
2025-09-25 10:41:23 -04:00
parent a91245fd6b
commit 9d408a3b56
26 changed files with 12526 additions and 122 deletions

2
st.h
View File

@@ -19,6 +19,7 @@
#define TRUECOLOR(r,g,b) (1 << 24 | (r) << 16 | (g) << 8 | (b))
#define IS_TRUECOL(x) (1 << 24 & (x))
#define HISTSIZE 2000
enum glyph_attribute {
ATTR_NULL = 0,
@@ -87,6 +88,7 @@ void sendbreak(const Arg *);
void toggleprinter(const Arg *);
int tattrset(int);
int tisaltscr(void);
void tnew(int, int);
void tresize(int, int);
void tsetdirtattr(int);