Make the clipboard size limit configurable

Fixes #3937
This commit is contained in:
Kovid Goyal
2021-08-16 17:29:36 +05:30
parent 56cb628ee8
commit c00e945f6e
5 changed files with 19 additions and 2 deletions

View File

@@ -102,6 +102,9 @@ class Parser:
def clipboard_control(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['clipboard_control'] = clipboard_control(val)
def clipboard_max_size(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['clipboard_max_size'] = positive_float(val)
def close_on_child_death(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['close_on_child_death'] = to_bool(val)