Re: git: 101afbc6ee2f - main - loader/menu: tweak for added line
Date: Thu, 22 Aug 2024 23:52:27 UTC
On 23 Aug 2024, at 00:37, Warner Losh <imp@FreeBSD.org> wrote:
>
> The branch main has been updated by imp:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=101afbc6ee2f06f77e6886f1f3ffe115c579967c
>
> commit 101afbc6ee2f06f77e6886f1f3ffe115c579967c
> Author: Warner Losh <imp@FreeBSD.org>
> AuthorDate: 2024-08-22 23:28:51 +0000
> Commit: Warner Losh <imp@FreeBSD.org>
> CommitDate: 2024-08-22 23:28:51 +0000
>
> loader/menu: tweak for added line
>
> I added a line to the menu, but didn't adjust so things were a
> line off. Make the necessary adjustments.
>
> Fixes: 7cb65be96d47
> Sponsored by: Netflix
> MFC After: 3 days
> ---
> stand/lua/drawer.lua | 2 +-
> stand/lua/menu.lua | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua
> index a009b78164df..3a462930b86b 100644
> --- a/stand/lua/drawer.lua
> +++ b/stand/lua/drawer.lua
> @@ -472,7 +472,7 @@ logodefs = {
> brand_position = {x = 2, y = 1}
> logo_position = {x = 46, y = 4}
> menu_position = {x = 5, y = 10}
> -frame_size = {w = 42, h = 13}
> +frame_size = {w = 42, h = 14}
> default_shift = {x = 0, y = 0}
> shift = default_shift
>
> diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
> index 0587e5ae6586..ed84360d93b0 100644
> --- a/stand/lua/menu.lua
> +++ b/stand/lua/menu.lua
> @@ -535,7 +535,7 @@ end
>
> function menu.autoboot(delay)
> local x = loader.getenv("loader_menu_timeout_x") or 4
> - local y = loader.getenv("loader_menu_timeout_y") or 23
> + local y = loader.getenv("loader_menu_timeout_y") or 24
> local endtime = loader.time() + delay
> local time
> local last
Does this mean we no longer fit a standard 80x24 terminal, or does this
place it on the 24th row so just fits?
Jess