summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2020-11-13 11:14:00 +0100
committerHubert Hirtz <hubert@hirtz.pm>2020-11-13 11:14:00 +0100
commit09983c750d5d8013cc2b793714a04726d4a4360b (patch)
treed80b4c04c6d1cffe8242811768b7742d5b3557f4 /app.go
parentFix click colors on highlighted channel (diff)
Fix prompt not being updated on click
Diffstat (limited to 'app.go')
-rw-r--r--app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.go b/app.go
index 05a5811..3c47f0f 100644
--- a/app.go
+++ b/app.go
@@ -251,6 +251,7 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
if ev.Buttons() == 0 {
if y == app.win.ClickedBuffer() && x < app.cfg.ChanColWidth {
app.win.GoToBufferNo(y)
+ app.updatePrompt()
}
app.win.ClickBuffer(-1)
}