Fix mouse support in command bar
This commit is contained in:
parent
397fe634d7
commit
44c1929f9d
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ func (h *BufPane) HandleEvent(event tcell.Event) {
|
|||
switch e.Buttons() {
|
||||
case tcell.Button1:
|
||||
_, my := e.Position()
|
||||
if h.Buf.Settings["statusline"].(bool) && my >= h.GetView().Y+h.GetView().Height-1 {
|
||||
if h.Buf.Type.Kind != buffer.BTInfo.Kind && h.Buf.Settings["statusline"].(bool) && my >= h.GetView().Y+h.GetView().Height-1 {
|
||||
cancel = true
|
||||
}
|
||||
case tcell.ButtonNone:
|
||||
|
|
Loading…
Reference in a new issue