From 6ac0d838beda7f015a80ce963c29f64ca0610bc9 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 1 Oct 2024 17:43:41 -0500 Subject: [PATCH] chore formatting --- src/hwylterm/chooser.nim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hwylterm/chooser.nim b/src/hwylterm/chooser.nim index e421436..3161503 100644 --- a/src/hwylterm/chooser.nim +++ b/src/hwylterm/chooser.nim @@ -127,11 +127,11 @@ proc choose*[T](things: openArray[T], height: Natural = 6): seq[T] = when isMainModule: - import std/[parseopt, strformat] + import std/[parseopt] import ./cli proc writeHelp() = - let cli = newHwylCli( + echo newHwylCli( "[bold]hwylchoose[/] [[[green]args...[/]] [[[faint]-h[/]]", """ hwylchoose a b c d @@ -143,7 +143,6 @@ hwylchoose a,b,c,d --seperator "," ("s", "seperator", "seperator to split items"), ] ) - echo cli var posArgs: seq[string]