vonshednob / pter

Manage your todo.txt in a commandline user interface (TUI)
https://vonshednob.cc/pter/
MIT License
102 stars 6 forks source link

Patch to invert completion highlighting #55

Closed andrei-a-papou closed 5 months ago

andrei-a-papou commented 6 months ago

I'm using this patch to invert highlighting in the completion dropdown. Without it, at least in a terminal with a dark background, the highlighting in the completion dropdown is light text on dark background, whereas everywhere else in the app it's the reverse (dark text, light background). Especially for completions in the search bar where you also have a highlighted item in the task list nearby, this never fails to confuse me :smile: Hence the patch.

98-reverse-completion-colors.diff.gz

Ideally, maybe the completion dropdown could simply mimic "Select project" and "Select context" dialogs, i. e. have the same borders and colors, only with no label/title? But I bet there's probably a good reason the completion dropdown is different?

vonshednob commented 6 months ago

This has confused me a lot, too. But apparently never enough to change it :sweat_smile:

vonshednob commented 5 months ago

Pushed!