From ffb26dbfb9b6f4141a0cb807194b7efe589d5a04 Mon Sep 17 00:00:00 2001 From: Canon Date: Sun, 29 Mar 2026 08:43:03 +0800 Subject: [PATCH] Add clearer instructions for installation prompt --- UI/InteractiveMenu.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/UI/InteractiveMenu.cs b/UI/InteractiveMenu.cs index 2916c9c..523855d 100644 --- a/UI/InteractiveMenu.cs +++ b/UI/InteractiveMenu.cs @@ -201,8 +201,10 @@ public class InteractiveMenu var selected = AnsiConsole.Prompt( new MultiSelectionPrompt() .Title("[bold]Select mods to install:[/]") + .InstructionsText("[grey](Press to mark a mod for install, to confirm)[/]") .PageSize(15) - .Required(false) + .NotRequired() + .WrapAround() // Pressing down on last item goes to first .UseConverter(r => string.IsNullOrEmpty(r.Description) ? r.Name : $"{r.Name} [grey]— {Truncate(r.Description, 50)}[/]") @@ -247,8 +249,10 @@ public class InteractiveMenu var selected = AnsiConsole.Prompt( new MultiSelectionPrompt() .Title("[bold red]Select mods to uninstall:[/]") + .InstructionsText("[grey](Press to mark a mod for uninstallation, to confirm)[/]") .PageSize(15) - .Required(false) + .NotRequired() + .WrapAround() .UseConverter(m => m.Name) .AddChoices(installedMods));