Skip to content

fix: interactive scan crash "Could not find color or style" - #168

Merged
hojmark merged 5 commits into
mainfrom
fix/interactiveScanCrash
Sep 1, 2026
Merged

fix: interactive scan crash "Could not find color or style"#168
hojmark merged 5 commits into
mainfrom
fix/interactiveScanCrash

Conversation

@hojmark

@hojmark hojmark commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Fixes crash when running scan -i:

✕ Could not find color or style ''.
   at Spectre.Console.AnsiMarkupTagParser.Parse(String) + 0x7a
   at Spectre.Console.AnsiMarkup.Parse(String, Nullable`1) + 0x2ac
   at Spectre.Console.Markup..ctor(String, Nullable`1) + 0x70
   at Drift.Cli.Commands.Scan.Interactive.Ui.ScanLayout.BuildFooter() + 0x4c9
   at Drift.Cli.Commands.Scan.Interactive.Ui.ScanLayout..ctor(NetworkId, IAnsiConsole) + 0x36e
   at Drift.Cli.Commands.Scan.Interactive.InteractiveUi..ctor(IOutputManager, Network, INetworkScanner, NetworkScanOptions, IKeyMap, Boolean) + 0x1be
   at Drift.Cli.Commands.Scan.ScanCommandHandler.<Invoke>d__5.MoveNext() + 0x83e
--- End of stack trace from previous location ---
   at System.CommandLine.Invocation.InvocationPipeline.<InvokeAsync>d__0.MoveNext() + 0xca
--- End of stack trace from previous location ---
   at Drift.Cli.DriftCli.<InvokeAsync>d__0.MoveNext() + 0x26c

@hojmark hojmark added the bug Something isn't working label Sep 1, 2026
@hojmark
hojmark force-pushed the fix/interactiveScanCrash branch from f626cc2 to b4b070b Compare September 1, 2026 20:08
@hojmark
hojmark enabled auto-merge (squash) September 1, 2026 20:12
@hojmark
hojmark disabled auto-merge September 1, 2026 20:29
@hojmark
hojmark enabled auto-merge (squash) September 1, 2026 21:03
@hojmark
hojmark merged commit c76b3f1 into main Sep 1, 2026
5 checks passed
@hojmark
hojmark deleted the fix/interactiveScanCrash branch September 1, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant