summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/ui.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/ui.go b/client/ui.go
index 8331799..fc8d9a6 100644
--- a/client/ui.go
+++ b/client/ui.go
@@ -60,7 +60,10 @@ func (a *application) onInput(ev tui.Event) {
if ev.Key != 0 {
switch cl := a.currentWindow.(type) {
case channelLocation:
- a.windowCache.Get(cl).(*channelWindow).fingersPresent()
+ switch w := a.windowCache.Get(cl).(type) {
+ case (*channelWindow):
+ w.fingersPresent()
+ }
}
}