aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-18 20:38:35 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-18 20:38:35 +0200
commit18fa85f4c42fc23f4e35dc029cf59232adead404 (patch)
tree00413a6fff37b9d04ff32a782dbcc4a5c6d7e803 /ui
parent7012564d0ee8481c0e4c5ecb359f77d12c9f793b (diff)
Update deps
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: