mirror of
https://github.com/Hopiu/micro.git
synced 2026-05-23 13:45:50 +00:00
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() {
|
switch e.Buttons() {
|
||||||
case tcell.Button1:
|
case tcell.Button1:
|
||||||
_, my := e.Position()
|
_, 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
|
cancel = true
|
||||||
}
|
}
|
||||||
case tcell.ButtonNone:
|
case tcell.ButtonNone:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue