diff --git a/aider/io.py b/aider/io.py index e18691ba4..ecf04f790 100644 --- a/aider/io.py +++ b/aider/io.py @@ -559,7 +559,8 @@ class InputOutput: self.editingmode == EditingMode.VI and event.app.vi_state.input_mode == InputMode.NAVIGATION ): - # In multiline mode and if not in vi-mode or vi navigation/normal mode, Enter adds a newline + # In multiline mode and if not in vi-mode or vi navigation/normal mode, + # Enter adds a newline event.current_buffer.insert_text("\n") else: # In normal mode, Enter submits