Merge branch 'kitten-diff-select-fg-none' of https://github.com/tomaskrizek/kitty
This commit is contained in:
commit
a60f347648
@ -89,7 +89,7 @@ c('hunk_bg', '#f1f8ff')
|
|||||||
c('search_bg', '#444', long_text=_('Highlighting'))
|
c('search_bg', '#444', long_text=_('Highlighting'))
|
||||||
c('search_fg', 'white')
|
c('search_fg', 'white')
|
||||||
c('select_bg', '#b4d5fe')
|
c('select_bg', '#b4d5fe')
|
||||||
c('select_fg', 'black')
|
o('select_fg', 'black', option_type=to_color_or_none)
|
||||||
|
|
||||||
g('shortcuts')
|
g('shortcuts')
|
||||||
k('quit', 'q', 'quit', _('Quit'))
|
k('quit', 'q', 'quit', _('Quit'))
|
||||||
|
|||||||
@ -1025,14 +1025,7 @@ o('dim_opacity', 0.75, option_type=unit_float, long_text=_('''
|
|||||||
How much to dim text that has the DIM/FAINT attribute set. One means no dimming and
|
How much to dim text that has the DIM/FAINT attribute set. One means no dimming and
|
||||||
zero means fully dimmed (i.e. invisible).'''))
|
zero means fully dimmed (i.e. invisible).'''))
|
||||||
|
|
||||||
|
o('selection_foreground', '#000000', option_type=to_color_or_none, long_text=_('''
|
||||||
def selection_foreground(x: str) -> Optional[Color]:
|
|
||||||
if x.lower() != 'none':
|
|
||||||
return to_color(x)
|
|
||||||
return None
|
|
||||||
|
|
||||||
|
|
||||||
o('selection_foreground', '#000000', option_type=selection_foreground, long_text=_('''
|
|
||||||
The foreground for text selected with the mouse. A value of none means to leave the color unchanged.'''))
|
The foreground for text selected with the mouse. A value of none means to leave the color unchanged.'''))
|
||||||
o('selection_background', '#fffacd', option_type=to_color, long_text=_('''
|
o('selection_background', '#fffacd', option_type=to_color, long_text=_('''
|
||||||
The background for text selected with the mouse.'''))
|
The background for text selected with the mouse.'''))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user