Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use palette colours #519

Open
stibinator opened this issue Jan 24, 2025 · 0 comments
Open

Can't use palette colours #519

stibinator opened this issue Jan 24, 2025 · 0 comments

Comments

@stibinator
Copy link

stibinator commented Jan 24, 2025

If I try to change the default colours, it doesn't recognise the named 16 colour palette.
My settings.toml file

[tui.palette]
status_list_account = ['red']
status_list_selected = ['gray,bold', 'red']

When I run

toot tui -f kitty
[…]
  File "/home/stib/.local/share/pipx/venvs/toot/lib/python3.13/site-packages/urwid/event_loop/main_loop.py", line 135, in __init__
    screen.register_palette(palette)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/stib/.local/share/pipx/venvs/toot/lib/python3.13/site-packages/urwid/display/common.py", line 1106, in register_palette
    raise ScreenError(f"palette entry '{like_name}' doesn't exist")
urwid.display.common.ScreenError: palette entry 'red' doesn't exist

Same happens no matter what colours I specify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant