st-flexipatch

My st-flexipatch configuration
git clone git://git.ethandl.dev/st-flexipatch
Log | Files | Refs | README | LICENSE

commit 708cdada9614a8a53433754082f11e8e41ceced1
parent f31c43015d15487d5fb129877dc0d87bcb60f5c9
Author: bakkeby <bakkeby@gmail.com>
Date:   Mon, 29 Mar 2021 09:13:14 +0200

Unable to make while using scrollback patch ref. #14

Diffstat:
Mst.c | 3---
Mst.h | 3+++
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/st.c b/st.c @@ -44,9 +44,6 @@ #define ESC_ARG_SIZ 16 #define STR_BUF_SIZ ESC_BUF_SIZ #define STR_ARG_SIZ ESC_ARG_SIZ -#if SCROLLBACK_PATCH -#define HISTSIZE 2000 -#endif // SCROLLBACK_PATCH /* macros */ #define IS_SET(flag) ((term.mode & (flag)) != 0) diff --git a/st.h b/st.h @@ -32,6 +32,9 @@ #define TRUECOLOR(r,g,b) (1 << 24 | (r) << 16 | (g) << 8 | (b)) #define IS_TRUECOL(x) (1 << 24 & (x)) +#if SCROLLBACK_PATCH +#define HISTSIZE 2000 +#endif // SCROLLBACK_PATCH enum glyph_attribute { ATTR_NULL = 0,