aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/view-main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/view-main.go b/ui/view-main.go
index 67dbb4b..af971a6 100644
--- a/ui/view-main.go
+++ b/ui/view-main.go
@@ -196,7 +196,7 @@ func (view *MainView) OnKeyEvent(event mauview.KeyEvent) bool {
msgView := view.currentRoom.MessageView()
msgView.AddScrollOffset(-msgView.TotalHeight())
case c == 'n' || k == tcell.KeyCtrlN:
- return view.flex.OnKeyEvent(tcell.NewEventKey(tcell.KeyEnter, '\n', event.Modifiers()|tcell.ModShift))
+ return view.flex.OnKeyEvent(tcell.NewEventKey(tcell.KeyEnter, '\n', event.Modifiers()|tcell.ModShift, ""))
case c == 'a':
view.SwitchRoom(view.roomList.NextWithActivity())
case c == 'l' || k == tcell.KeyCtrlL: