mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
style: format prompt_session.prompt call to fit on one line
This commit is contained in:
parent
43eaf91e8d
commit
89891efbb8
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue