Re: [hackers] [st][patch] Increase the buffer size for escape sequences

From: Roberto E. Vargas Caballero <>
Date: Tue, 25 Sep 2018 09:04:40 +0100

On Mon, Sep 24, 2018 at 05:45:29PM -0700, Eric Pruitt wrote:
> I agree that the current buffer is too small. I'm pretty sure I've run
> into this problem myself with Vim and Bash, but I hadn't gotten around
> to digging into the problem.

If we go to increase that size, I would go to use dynamic memory. Having
an array of 1MB statically allocated is a crazy idea (and it is not
C99 compliant, where the maximun allocated size is 128K).
Received on Tue Sep 25 2018 - 10:04:40 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 25 2018 - 10:12:25 CEST