fix: Change default prompt option to uppercase 'Y'

This commit is contained in:
Paul Gauthier 2024-08-14 10:10:28 -07:00 committed by Paul Gauthier (aider)
parent 7534fabcc0
commit fb7bbb982e

View file

@ -724,7 +724,7 @@ class Commands:
add = result.returncode != 0 add = result.returncode != 0
else: else:
response = self.io.prompt_ask( response = self.io.prompt_ask(
"Add the output to the chat?\n(y/n/instructions)", default="" "Add the output to the chat?\n(Y/n/instructions)", default=""
).strip() ).strip()
if response.lower() in ["yes", "y"]: if response.lower() in ["yes", "y"]: