Re: [hackers] [st][PATCH] fix: realloc kpress buffer as needed.

From: yahei <yahei1423_AT_gmail.com>
Date: Tue, 13 May 2025 23:41:51 +0900

> Do you have any actual usecase where the current buffer size is a
> problem? If yes, I think it's better to increase the buffer size to
> something more reasonable if possible than to mess around with static
> variables.

It rarely causes problems.
However, once it occurs, all subsequent input with the IME is ignored.
Restarting st or IME will fix it.

If this is fixed, I think it would be better to dynamically allocate a
buffer of the requested size.
If it is not fixed for the sake of code simplicity, the current size
is sufficient.
Received on Tue May 13 2025 - 16:41:51 CEST

This archive was generated by hypermail 2.3.0 : Tue May 13 2025 - 23:36:40 CEST