diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-06-28 14:46:28 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-06-28 14:46:28 +0300 |
commit | 86568a9d1590ec529af95a7e16fb889b09162ed9 (patch) | |
tree | dbad39b76dcca72fd5551a0f782f6ad2a2bcd199 /contrib/python/prompt-toolkit/py3/prompt_toolkit/shortcuts | |
parent | e6eedf7496d3741c2226a52ac25b12851b331112 (diff) | |
download | ydb-86568a9d1590ec529af95a7e16fb889b09162ed9.tar.gz |
intermediate changes
ref:8cc96053e249b790770c75de97ccbea86351cff2
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/shortcuts')
-rw-r--r-- | contrib/python/prompt-toolkit/py3/prompt_toolkit/shortcuts/dialogs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/shortcuts/dialogs.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/shortcuts/dialogs.py index 9140f86ab3..eacb05a00c 100644 --- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/shortcuts/dialogs.py +++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/shortcuts/dialogs.py @@ -109,6 +109,7 @@ def input_dialog( validator: Optional[Validator] = None, password: FilterOrBool = False, style: Optional[BaseStyle] = None, + default: str = "", ) -> Application[str]: """ Display a text input box. @@ -126,6 +127,7 @@ def input_dialog( cancel_button = Button(text=cancel_text, handler=_return_none) textfield = TextArea( + text=default, multiline=False, password=password, completer=completer, |