]> git.neil.brown.name Git - edlib.git/commit
menu: allow memu to get wider
authorNeilBrown <neil@brown.name>
Fri, 21 Jul 2023 10:33:28 +0000 (20:33 +1000)
committerNeilBrown <neil@brown.name>
Fri, 21 Jul 2023 10:43:31 +0000 (20:43 +1000)
commit7908e48f041323b30a6e31d10e170b40d6799d72
treea6a3cc4f0cfb4d91050aeff2a2bc1bba4de17972
parent24c5535900cc8ab0debedd269ed83eb9af900e3b
menu: allow memu to get wider

If menu gets smaller we already reduce size.
Now we do so when menu gets bigger too.
For this, we add 1 to width so there is a change for it to appear wider
as the width reported is only ever the visible width.

This makes all menus slightly wider.

Signed-off-by: NeilBrown <neil@brown.name>
lib-menu.c
tests.d/00-basic
tests.d/02-grep