We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846c6f6 commit ef882e9Copy full SHA for ef882e9
src/agent_chat_cli/components/user_input.py
@@ -33,6 +33,13 @@ def on_mount(self) -> None:
33
input_widget = self.query_one(TextArea)
34
input_widget.focus()
35
36
+ async def on_key(self, event) -> None:
37
+ if event.key == "ctrl+j":
38
+ event.stop()
39
+ event.prevent_default()
40
+ input_widget = self.query_one(TextArea)
41
+ input_widget.insert("\n")
42
+
43
async def action_submit(self) -> None:
44
45
user_message = input_widget.text.strip()
0 commit comments