Fix option_type

This commit is contained in:
Eyal Chojnowski 2020-02-06 13:05:10 +01:00
parent 332714a925
commit 830364e026

View file

@ -394,7 +394,7 @@ def cursor_text_color(x):
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_beam_thickness', 1.5, option_type=float, long_text=_(
o('cursor_beam_thickness', 1.5, option_type=positive_float, long_text=_(
'Defines the thickness of the beam cursor'))
o('cursor_blink_interval', -1, option_type=float, long_text=_('''
The interval (in seconds) at which to blink the cursor. Set to zero to disable