tbabej / vit

Placeholder to demostrate issue porting for VIT.
0 stars 0 forks source link

[VT-91] selection bar obscures selected task colors (should be inverse) #91

Open tbabej opened 6 years ago

tbabej commented 6 years ago

David Patrick on 2014-06-18T07:40:58Z says:

By default, the current vit selection bar is white on blue.

This color can be changed by adding "color.vit.selection=blue on white" to your .taskrc.

The problem is, that as you scroll up and down the list, considering what actions to take, the colors of the task "in focus" are temporarily obscured by the selection-bar. Colors are not just nice to look at, they can convey important information about time or project or dependency, and to hide that information at the precise moment the task can be acted on, when it is selected, is a bug. ANY predefined color is "bad".

Ideally, an "inverse" option is enabled, so that ""color.vit.selection=inverse" results in a selection bar that flips the foreground and background colors. This will still be highly visable, as a selection, but it will be composed of the same colors as usual, just inverted. This same setting will work just as well with any theme, light or dark, and it will allow the user to see all of the visual information available, before acting on a selection.

tbabej commented 6 years ago

Migrated metadata:

Created: 2014-06-18T07:40:58Z
Modified: 2014-06-19T22:08:55Z
tbabej commented 6 years ago

David Patrick on 2014-06-18T08:07:04Z says:

(secret codes from IRC) 23:06 < djp> pbecking1am: please forgive the tenacity/ stubbornness, but isn't that exactly what I want? couldn't "emitted code that tells xterm to switch default fg and default bg" be plugged into the vit selection-bar color-code thingy.. ? 23:10 < pbecking1am> djp: Try it. [7m ... [0m

tbabej commented 6 years ago

David Patrick on 2014-06-19T22:08:55Z says:

"color.vit.selection=underline" would almost be as good too, as an alternative to "color.vit.selection=inverse", highlighting the selected task without affecting fg/bg colors, but currently, underline also causes fg=white, bg=black, which defeats the purpose.