Make using a fixed color for the text under the cursor the default

This commit is contained in:
Kovid Goyal 2018-07-12 16:52:38 +05:30
parent 55fc5c4358
commit 5bfe2fb8d3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 6 additions and 6 deletions

View File

@ -6,8 +6,9 @@ Changelog
0.12.0 [future]
------------------------------
- Add an option :opt:`cursor_text_color` to render text under the cursor in a
fixed color. (:iss:`126`)
- Render the text under the cursor in a fixed color, configurable via
the option :opt:`cursor_text_color` (:iss:`126`)
0.11.3 [2018-07-10]
------------------------------

View File

@ -273,10 +273,9 @@ def cursor_text_color(x):
o('cursor', '#cccccc', _('Default cursor color'), option_type=to_color)
o('cursor_text_color', 'background', option_type=cursor_text_color, long_text=_('''
Choose the color of text under the cursor. By default, text under the cursor is
rendered using the background color. If, instead you want it rendered using a
fixed color, you can specify that color here.'''))
o('cursor_text_color', '#111111', option_type=cursor_text_color, long_text=_('''
Choose the color of text under the cursor. If you want it rendered with the
background color of the cell underneath instead, use the special keyword: background'''))
o('cursor_shape', 'block', option_type=to_cursor_shape, long_text=_(
'The cursor shape can be one of (block, beam, underline)'))
o('cursor_blink_interval', 0.5, option_type=positive_float, long_text=_('''