commit 09983c7

Hubert Hirtz  ·  2020-11-13 10:14:00 +0000 UTC
parent 6c1e5d2
Fix prompt not being updated on click
1 files changed,  +1, -0
M app.go
M app.go
+1, -0
1@@ -251,6 +251,7 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
2 	if ev.Buttons() == 0 {
3 		if y == app.win.ClickedBuffer() && x < app.cfg.ChanColWidth {
4 			app.win.GoToBufferNo(y)
5+			app.updatePrompt()
6 		}
7 		app.win.ClickBuffer(-1)
8 	}