pimutils / khal

:calendar: CLI calendar application
https://lostpackets.de/khal/
MIT License
2.54k stars 197 forks source link

Start urwid with the right colormode #1351

Open geier opened 1 month ago

geier commented 1 month ago

Urwid supports multiple color modes (256 colors, truecolor, possibly more). We Currently start in truecolor mode, but it makes sense to check what the current terminal supports and choose the right color mode.

We might want to get inspired by how neovim chooses what colormode to use.