style: format prompt_session.prompt call to fit on one line

This commit is contained in:
Paul Gauthier (aider) 2024-09-10 10:00:05 -07:00
parent 43eaf91e8d
commit 89891efbb8

View file

@ -519,11 +519,7 @@ class InputOutput:
elif self.yes is False:
res = "no"
else:
res = self.prompt_session.prompt(
question + " ",
default=default,
style=style
)
res = self.prompt_session.prompt(question + " ", default=default, style=style)
hist = f"{question.strip()} {res.strip()}"
self.append_chat_history(hist, linebreak=True, blockquote=True)