Re: [PATCH] kconfig: nconf: Format and print 'line' without a temporary copy
From: Nicolas Schier
Date: Thu Aug 14 2025 - 03:53:41 EST
On Mon, Aug 11, 2025 at 06:16:48PM +0200, Thorsten Blum wrote:
> Use "%.*s" as the format specifier and supply the 'line' length 'len' to
> mvwprintw() to format and print each line without making a temporary
> copy. Remove the temporary buffer.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> scripts/kconfig/nconf.gui.c | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
thanks!
Reviewed-by: Nicolas Schier <nsc@xxxxxxxxxx>
As kconfig is currently orphaned, I am going to take this via kbuild
tree.
Kind regards,
Nicolas