mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
rename
This commit is contained in:
parent
c38a877d81
commit
9815d14368
2 changed files with 2 additions and 2 deletions
|
@ -444,7 +444,7 @@ class Commands:
|
||||||
|
|
||||||
text = v.record_and_transcribe()
|
text = v.record_and_transcribe()
|
||||||
if text:
|
if text:
|
||||||
self.io.add_to_file_history(text)
|
self.io.add_to_input_history(text)
|
||||||
print()
|
print()
|
||||||
self.io.user_input(text, log_only=False)
|
self.io.user_input(text, log_only=False)
|
||||||
print()
|
print()
|
||||||
|
|
|
@ -231,7 +231,7 @@ class InputOutput:
|
||||||
self.user_input(inp)
|
self.user_input(inp)
|
||||||
return inp
|
return inp
|
||||||
|
|
||||||
def add_to_file_history(self, inp):
|
def add_to_input_history(self, inp):
|
||||||
if not self.input_history_file:
|
if not self.input_history_file:
|
||||||
return
|
return
|
||||||
FileHistory(self.input_history_file).append_string(inp)
|
FileHistory(self.input_history_file).append_string(inp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue