mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fix: check prompt session is active before interrupting input
This commit is contained in:
parent
b67a16e9af
commit
fcdb2591b6
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ class FileWatcher:
|
||||||
continue
|
continue
|
||||||
changed_files = {str(Path(change[1])) for change in changes}
|
changed_files = {str(Path(change[1])) for change in changes}
|
||||||
self.changed_files.update(changed_files)
|
self.changed_files.update(changed_files)
|
||||||
self.io.interrupt_input()
|
if self.io.prompt_session and self.io.prompt_session.app:
|
||||||
|
self.io.interrupt_input()
|
||||||
return
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue