When I'm in the middle of a conversation with AI, sometimes I like to change the code immediately ("Oh that's wrong, let me fix that first"). Does it mess the context? Or I need to close/Ctrl+C and reopen?
As far as I know, Aider uses the latest content of the file, each time you ask something.
Btw. You can also trigger Aider via comments. This way you can mix it with your changes immediately.