mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fixed indent
This commit is contained in:
parent
1814638c1a
commit
01778be259
1 changed files with 15 additions and 13 deletions
28
aider/io.py
28
aider/io.py
|
@ -102,19 +102,21 @@ class InputOutput:
|
||||||
if multiline_input:
|
if multiline_input:
|
||||||
show = ". "
|
show = ". "
|
||||||
|
|
||||||
session_kwargs = {
|
session_kwargs = {
|
||||||
"message": show,
|
"message": show,
|
||||||
"completer": completer_instance,
|
"completer": completer_instance,
|
||||||
"style": style,
|
"style": style,
|
||||||
"reserve_space_for_menu": 4,
|
"reserve_space_for_menu": 4,
|
||||||
"complete_style": CompleteStyle.MULTI_COLUMN,
|
"complete_style": CompleteStyle.MULTI_COLUMN,
|
||||||
"input": self.input,
|
"input": self.input,
|
||||||
"output": self.output,
|
"output": self.output,
|
||||||
}
|
}
|
||||||
if self.input_history_file is not None:
|
if self.input_history_file is not None:
|
||||||
session_kwargs["history"] = FileHistory(self.input_history_file)
|
session_kwargs["history"] = FileHistory(self.input_history_file)
|
||||||
session = PromptSession(**session_kwargs)
|
|
||||||
line = session.prompt()
|
session = PromptSession(**session_kwargs)
|
||||||
|
line = session.prompt()
|
||||||
|
|
||||||
if line.strip() == "{" and not multiline_input:
|
if line.strip() == "{" and not multiline_input:
|
||||||
multiline_input = True
|
multiline_input = True
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue