[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d01112c2-b5a4-4aa3-4ee7-711abc9da079@infradead.org>
Date: Sat, 4 Mar 2023 09:56:08 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Alexey Dobriyan <adobriyan@...il.com>,
Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] menuconfig: delete shadows, reclaim vertical space
Hi,
On 3/4/23 08:55, Alexey Dobriyan wrote:
> Menuconfig has lots of vertical space wasted: on my system there are
> 17 lines of useful information about config options and 14 lines of
> useless fluff: legend, horizontal separators and shadows.
>
> Sitation is even worse on smaller terminals because fixed vertical lines
> do not go away, but config option lines do decreasing informational
> density even more.
>
> Delete shadows and increase menu size to reclaim vertical space.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
> ---
>
> scripts/kconfig/lxdialog/checklist.c | 2 --
> scripts/kconfig/lxdialog/dialog.h | 1 -
> scripts/kconfig/lxdialog/inputbox.c | 2 --
> scripts/kconfig/lxdialog/menubox.c | 6 ++----
> scripts/kconfig/lxdialog/textbox.c | 2 --
> scripts/kconfig/lxdialog/util.c | 22 ----------------------
> scripts/kconfig/lxdialog/yesno.c | 2 --
> 7 files changed, 2 insertions(+), 35 deletions(-)
>
This patch works for me, but since the right side shadow is
also being removed, the one column (width) that it had
occupied might as well be used (reclaimed) instead of just
going to waste.
Thanks.
--
~Randy
Powered by blists - more mailing lists