tbabej / vit

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

[VT-52] VITtk; no way to set selection fg color [patch] #52

Closed tbabej closed 6 years ago

tbabej commented 6 years ago

Bryce Harrington on 2011-05-06T09:26:34Z says:

I like to invert the color scheme - black on white instead of white or green on black. vittk provides configuration variables to do most of this, but lacks a way to set the selection bar's fg color, which makes the text it is on unreadable (black on black).

The attached patch adds a $selection_fg variable which allows setting the color of this bar.

tbabej commented 6 years ago

Migrated metadata:

Created: 2011-05-06T09:26:34Z
Modified: 2015-03-02T05:18:14Z
tbabej commented 6 years ago

Bryce Harrington on 2011-05-06T09:26:34Z says:

Attachment add_selection_fg.patch has been added with description: patch

tbabej commented 6 years ago

Bryce Harrington on 2011-05-06T09:47:15Z says:

Fixed up patch... selection_fg actually accepts only 0 or 1, not an arbitrary color as I assumed with the previous patch.

tbabej commented 6 years ago

steve rader on 2012-11-24T18:47:54Z says:

VITtk bugs have been deprecated by [[vit|Vit]].

When [[vit|Vit]] migrates to Task-native colorization, support for specifying the selection colors (both foreground and background) will be included.

tbabej commented 6 years ago

steve rader on 2012-11-28T19:06:30Z says:

In Vit as of version 0.4 (or maybe 0.3) the selection color defaults to white on blue but can be specified using the color.vit.selection configuration entry. For example, with a Gnome (light-256.theme) kinda theme, use...

color.vit.selection=color231 on color68
tbabej commented 6 years ago

PeterN on 2015-01-08T22:57:48Z says:

It would be great if this was documented somewhere. I actually modified the default in my sources to implement this only to later find here that it already is implemented.

tbabej commented 6 years ago

Scott Kostyshak on 2015-01-08T23:32:09Z says:

Agreed. This and also the others that are parsed in init_task_env.

tbabej commented 6 years ago

Scott Kostyshak on 2015-03-02T05:18:14Z says:

Peter, can you post a patch that adds documentation for this? I don't have a good understanding of how VIT deals with colors.