mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
wip: Removed unnecessary code and added a console rule when getting input.
This commit is contained in:
parent
85515b4788
commit
dd82f64a9e
2 changed files with 5 additions and 5 deletions
|
@ -196,11 +196,6 @@ class Coder:
|
|||
return True
|
||||
|
||||
def run_loop(self):
|
||||
if self.pretty:
|
||||
self.console.rule()
|
||||
else:
|
||||
print()
|
||||
|
||||
inp = self.io.get_input(self.history_file, self.abs_fnames, self.commands)
|
||||
|
||||
self.num_control_c = 0
|
||||
|
|
|
@ -75,6 +75,11 @@ class InputOutput:
|
|||
return input_line
|
||||
|
||||
def get_input(self, history_file, fnames, commands):
|
||||
if self.pretty:
|
||||
self.console.rule()
|
||||
else:
|
||||
print()
|
||||
|
||||
fnames = list(fnames)
|
||||
if len(fnames) > 1:
|
||||
common_prefix = os.path.commonpath(fnames)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue