On Sun, Sep 23, 2018 at 12:12:27PM +0200, Ingo Heimbach wrote: > Before this commit, long escape sequences (e.g. OSC 52) could be trimmed > due to a quite small escape sequence buffer. This commit increases the > escape sequence buffer from 128 to 1048576 UTF-8 characters. > --- > st.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/st.c b/st.c > index 46c954b..e9d4536 100644 > --- a/st.c > +++ b/st.c > @@ -31,7 +31,7 @@ > /* Arbitrary sizes */ > #define UTF_INVALID 0xFFFD > #define UTF_SIZ 4 > -#define ESC_BUF_SIZ (128*UTF_SIZ) > +#define ESC_BUF_SIZ (1048576*UTF_SIZ) > #define ESC_ARG_SIZ 16 > #define STR_BUF_SIZ ESC_BUF_SIZ > #define STR_ARG_SIZ ESC_ARG_SIZ > -- > 2.19.0 > >
This is incorrect. -- Kind regards, Hiltjo
