mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Format code to comply with linter rules
This commit is contained in:
parent
710d540dcd
commit
930923c211
1 changed files with 5 additions and 1 deletions
|
@ -71,6 +71,7 @@ def restore_multiline(func):
|
|||
|
||||
class CommandCompletionException(Exception):
|
||||
"""Raised when a command should use the normal autocompleter instead of command-specific completion."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
|
@ -553,7 +554,10 @@ class InputOutput:
|
|||
@kb.add("enter", eager=True, filter=~is_searching)
|
||||
def _(event):
|
||||
"Handle Enter key press"
|
||||
if self.multiline_mode and not (self.editingmode == EditingMode.VI and event.app.vi_state.input_mode == InputMode.NAVIGATION):
|
||||
if self.multiline_mode and not (
|
||||
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
|
||||
event.current_buffer.insert_text("\n")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue