diff --git a/src/git_flow/command/base.py b/src/git_flow/command/base.py index 74aa804..d2a7c41 100644 --- a/src/git_flow/command/base.py +++ b/src/git_flow/command/base.py @@ -179,7 +179,7 @@ def _io_status(message: str, prefix: str, style: str, title: Optional[str] = Non def io_confirm(question: str, default: bool = True) -> bool: - return questionary.confirm(question, default=default, auto_enter=False).ask() + return questionary.confirm(question, default=default, auto_enter=False).unsafe_ask() def io_choice(prompt: str, options: list[str]) -> str: @@ -189,7 +189,7 @@ def io_choice(prompt: str, options: list[str]) -> str: use_search_filter=True, use_jk_keys=False, instruction="Tipear o usar flechas", - ).ask() + ).unsafe_ask() def io_prompt( @@ -205,6 +205,6 @@ def io_prompt( value = questionary.text( message, default, validate=validator, instruction=instruction - ).ask() + ).unsafe_ask() return value.strip() if strip else value