mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
feat: Enable complete_while_typing in prompt_session
This commit is contained in:
parent
04afb99c54
commit
eb9c41f2a0
1 changed files with 7 additions and 1 deletions
|
@ -505,6 +505,7 @@ class InputOutput:
|
|||
complete_style=CompleteStyle.MULTI_COLUMN,
|
||||
style=style,
|
||||
key_bindings=kb,
|
||||
complete_while_typing=True,
|
||||
)
|
||||
else:
|
||||
line = input(show)
|
||||
|
@ -773,7 +774,12 @@ class InputOutput:
|
|||
res = "no"
|
||||
else:
|
||||
if self.prompt_session:
|
||||
res = self.prompt_session.prompt(question + " ", default=default, style=style)
|
||||
res = self.prompt_session.prompt(
|
||||
question + " ",
|
||||
default=default,
|
||||
style=style,
|
||||
complete_while_typing=True,
|
||||
)
|
||||
else:
|
||||
res = input(question + " ")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue