mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix ^c handling
This commit is contained in:
parent
7314654ad2
commit
899792ce25
1 changed files with 5 additions and 4 deletions
|
@ -627,10 +627,11 @@ class Coder:
|
|||
return self.partial_response_content
|
||||
|
||||
while True:
|
||||
user_message = self.get_input()
|
||||
self.run_one(user_message)
|
||||
except KeyboardInterrupt:
|
||||
self.keyboard_interrupt()
|
||||
try:
|
||||
user_message = self.get_input()
|
||||
self.run_one(user_message)
|
||||
except KeyboardInterrupt:
|
||||
self.keyboard_interrupt()
|
||||
except EOFError:
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue