From 708cdada9614a8a53433754082f11e8e41ceced1 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Mon, 29 Mar 2021 09:13:14 +0200 Subject: [PATCH] Unable to make while using scrollback patch ref. #14 --- st.c | 3 --- st.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/st.c b/st.c index 1cdafc1..3f6040e 100644 --- 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 index d3fc5c5..2f853ea 100644 --- 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,