Skip to content

Conversation

@monkeydom
Copy link

This turns:

[bat warning]: Unknown theme 'SolarizedDark', using default.

Into a more actionable:

[bat warning]: Unknown theme 'SolarizedDark', using default. (Available themes: 1337, Coldark-Cold, Coldark-Dark, DarkNeon, Dracula, GitHub, Monokai Extended, Monokai Extended Bright, Monokai Extended Light, Monokai Extended Origin, Nord, OneHalfDark, OneHalfLight, Solarized (dark), Solarized (light), Sublime Snazzy, TwoDark, Visual Studio Dark+, ansi, base16, base16-256, gruvbox-dark, gruvbox-light, zenburn)

Might be worth doing a fuzzy prefix match too maybe?

@monkeydom monkeydom changed the title Dom/all themes --theme: return a list of all themes if the themes argument doesn't match Jun 27, 2024
@monkeydom monkeydom changed the title --theme: return a list of all themes if the themes argument doesn't match --theme: return a list of all themes if the theme argument doesn't match Jun 27, 2024
Copy link
Collaborator

@Enselic Enselic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test for this please? Or adjust the existing test if we have one

@Enselic Enselic added the waiting-on-author Progress on this PR is blocked mostly because we are waiting on the author of the PR to do something label Aug 16, 2025
@Enselic Enselic added the needs-test This needs a regression test. label Aug 28, 2025
@Enselic
Copy link
Collaborator

Enselic commented Sep 22, 2025

On a second thought, this seems fine to merge without a test. It just needs a rebase.

@Enselic
Copy link
Collaborator

Enselic commented Oct 11, 2025

Closing for now to keep the PR inbox clean but of course feel free to reopen if work resumes.

@Enselic Enselic closed this Oct 11, 2025
@monkeydom
Copy link
Author

monkeydom commented Oct 27, 2025

There was no way to reopen for me, force push did not update this one either, so made a new one:
#3456

Honestly, so much time has gone since the initial opening that I just overlooked the notifications. Rebased and added your desired test. (Also: the existing submodule setup makes rebasing and not messing up quite teadious. My git gui client 'fork' almost falls over itself all the time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-test This needs a regression test. waiting-on-author Progress on this PR is blocked mostly because we are waiting on the author of the PR to do something

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants