From eb76f93af272f25b0d29c0ac4e3b5e92df4fb207 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 7 Jan 2025 10:38:17 -0600 Subject: [PATCH] use dots2 for spinner --- pkgs/oizys/src/oizys/exec.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/oizys/src/oizys/exec.nim b/pkgs/oizys/src/oizys/exec.nim index 742bbca..8a865a5 100644 --- a/pkgs/oizys/src/oizys/exec.nim +++ b/pkgs/oizys/src/oizys/exec.nim @@ -4,6 +4,7 @@ import std/[ ] import hwylterm +import hwylterm/spin/spinners # todo: remove after hwylterm update func addArgs*(cmd: var string, args: openArray[string]) = @@ -62,7 +63,7 @@ proc runCmdCaptWithSpinner*( var output, err: string code: int - withSpinner(msg): + with(Dots2, msg): (output, err, code) = runCmdCapt(cmd, capture) if code != 0: stderr.writeLine("stdout\n" & output)