mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
Implement multiline-mode, swaps Enter & Meta-Enter
This commit is contained in:
parent
fbde0936e7
commit
aaf7e3f943
6 changed files with 66 additions and 2 deletions
|
@ -1363,6 +1363,10 @@ class Commands:
|
|||
except Exception as e:
|
||||
self.io.tool_error(f"Error saving commands to file: {e}")
|
||||
|
||||
def cmd_multiline_mode(self, args):
|
||||
"Toggle multiline mode (swaps behavior of Enter and Meta+Enter)"
|
||||
self.io.toggle_multiline_mode()
|
||||
|
||||
def cmd_copy(self, args):
|
||||
"Copy the last assistant message to the clipboard"
|
||||
all_messages = self.coder.done_messages + self.coder.cur_messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue