aboutsummaryrefslogtreecommitdiff
path: root/ui/view-main.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-11-14 00:01:20 +0200
committerTulir Asokan <tulir@maunium.net>2018-11-14 00:01:20 +0200
commit7651e84be949ecabac62d21b6e843b6776a2371e (patch)
tree15babd86e895b3f2cf0f74c8ebba66137fd2a791 /ui/view-main.go
parentba387764ca1590625d349e74eb8a8a64d1849b67 (diff)
parent61400188bb6c3c86c40a8be8242450d45e764415 (diff)
Merge branch 'master' into update
Diffstat (limited to 'ui/view-main.go')
-rw-r--r--ui/view-main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/view-main.go b/ui/view-main.go
index 5faa804..96daf1b 100644
--- a/ui/view-main.go
+++ b/ui/view-main.go
@@ -196,6 +196,8 @@ func (view *MainView) KeyEventHandler(roomView *RoomView, key *tcell.EventKey) *
searchModal := NewFuzzySearchModal(view, 42, 12)
view.parent.views.AddPage("fuzzy-search-modal", searchModal, true, true)
view.parent.app.SetFocus(searchModal)
+ case c == 'a':
+ view.SwitchRoom(view.roomList.NextWithActivity())
case c == 'l':
view.ShowBare(roomView)
default: