diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-10-18 17:09:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 17:09:37 +0300 |
commit | 61400188bb6c3c86c40a8be8242450d45e764415 (patch) | |
tree | 98b4c7fb045183c9af7062bba1d53c4e4be7dfab /ui/view-main.go | |
parent | e0e2b4f2f14bea1453ff54de12eecec4c7d70f04 (diff) | |
parent | 7417df0f3ca20d6fcc0ef6ecb122dacf2afd741f (diff) |
Merge pull request #74 from vranki/feature/alt-a
Alt-a to jump to next channel with unread messages.
Diffstat (limited to 'ui/view-main.go')
-rw-r--r-- | ui/view-main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/view-main.go b/ui/view-main.go index f38043a..8bd0668 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: |