toot icon indicating copy to clipboard operation
toot copied to clipboard

Can't use palette colours

Open stibinator opened this issue 11 months ago • 0 comments

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.

stibinator avatar Jan 24 '25 05:01 stibinator