mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-02 11:04:17 -06:00
fix spinner text
This commit is contained in:
parent
ff646436b8
commit
57ffe8e24b
2 changed files with 2 additions and 3 deletions
|
@ -67,7 +67,7 @@ proc formatStdoutStderr(stdout: string, stderr: string): BbString =
|
|||
|
||||
proc runCmdCaptWithSpinner*(
|
||||
cmd: string,
|
||||
msg: string = "",
|
||||
msg: BbString | string = bb"",
|
||||
capture: set[CaptureGrp] = {CaptStdout}
|
||||
): tuple[output, err: string] =
|
||||
var
|
||||
|
|
|
@ -135,8 +135,7 @@ proc toBuildNixosConfiguration(): seq[string] =
|
|||
let (_, err) = runCmdCaptWithSpinner(
|
||||
cmd,
|
||||
# BUG: hwylterm spinner not showing styled text?
|
||||
# "running dry run build for: " & $(getHosts().join(" ").bb("bold")),
|
||||
"running dry run build for: " & getHosts().join(" "),
|
||||
"running dry run build for: " & (getHosts().join(" ").bb("bold")),
|
||||
capture = {CaptStderr}
|
||||
)
|
||||
let output = parseDryRunOutput err
|
||||
|
|
Loading…
Reference in a new issue