Allows the visual bell color to be configured

This commit is contained in:
pagedown
2021-11-02 19:38:36 +08:00
parent 7c161f2d78
commit b4a6ed8d8f
11 changed files with 31 additions and 10 deletions
+3
View File
@@ -1248,6 +1248,9 @@ class Parser:
def url_style(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['url_style'] = url_style(val)
def visual_bell_color(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['visual_bell_color'] = to_color_or_none(val)
def visual_bell_duration(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['visual_bell_duration'] = positive_float(val)