Allow reverse video for the mouse selection

Fixes #646
This commit is contained in:
Kovid Goyal
2021-10-28 15:01:48 +05:30
parent 28386cc496
commit 702bfccfa2
7 changed files with 22 additions and 17 deletions
+1 -1
View File
@@ -1125,7 +1125,7 @@ class Parser:
ans['select_by_word_characters'] = str(val)
def selection_background(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['selection_background'] = to_color(val)
ans['selection_background'] = to_color_or_none(val)
def selection_foreground(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['selection_foreground'] = to_color_or_none(val)