mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44: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:
|
elif self.yes is False:
|
||||||
res = "no"
|
res = "no"
|
||||||
else:
|
else:
|
||||||
res = self.prompt_session.prompt(
|
res = self.prompt_session.prompt(question + " ", default=default, style=style)
|
||||||
question + " ",
|
|
||||||
default=default,
|
|
||||||
style=style
|
|
||||||
)
|
|
||||||
|
|
||||||
hist = f"{question.strip()} {res.strip()}"
|
hist = f"{question.strip()} {res.strip()}"
|
||||||
self.append_chat_history(hist, linebreak=True, blockquote=True)
|
self.append_chat_history(hist, linebreak=True, blockquote=True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue