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,