style: Break long comment line to comply with flake8 E501

This commit is contained in:
Paul Gauthier (aider) 2025-03-21 20:25:14 -07:00
parent a6bce6d5f1
commit 033c149737

View file

@ -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