From 9815d143688ab58a3de8aba5d8ed90e67b5722e8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 11 Aug 2023 10:49:27 -0300 Subject: [PATCH] rename --- aider/commands.py | 2 +- aider/io.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index e3f089f4d..82b26a7ba 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -444,7 +444,7 @@ class Commands: text = v.record_and_transcribe() if text: - self.io.add_to_file_history(text) + self.io.add_to_input_history(text) print() self.io.user_input(text, log_only=False) print() diff --git a/aider/io.py b/aider/io.py index c56589c20..a7f528aff 100644 --- a/aider/io.py +++ b/aider/io.py @@ -231,7 +231,7 @@ class InputOutput: self.user_input(inp) return inp - def add_to_file_history(self, inp): + def add_to_input_history(self, inp): if not self.input_history_file: return FileHistory(self.input_history_file).append_string(inp)