mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-01 02:10:23 +09:00
Fix windows errors
This commit is contained in:
1
cmd/micro/vendor/github.com/james4k/terminal
generated
vendored
1
cmd/micro/vendor/github.com/james4k/terminal
generated
vendored
Submodule cmd/micro/vendor/github.com/james4k/terminal deleted from b4bcb6ee7c
1
cmd/micro/vendor/github.com/zyedidia/terminal
generated
vendored
Submodule
1
cmd/micro/vendor/github.com/zyedidia/terminal
generated
vendored
Submodule
Submodule cmd/micro/vendor/github.com/zyedidia/terminal added at 7281cdf385
@@ -9,8 +9,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/james4k/terminal"
|
||||
"github.com/zyedidia/tcell"
|
||||
"github.com/zyedidia/terminal"
|
||||
)
|
||||
|
||||
// The ViewType defines what kind of view this is
|
||||
@@ -557,7 +557,7 @@ func (v *View) SetCursor(c *Cursor) bool {
|
||||
// HandleEvent handles an event passed by the main loop
|
||||
func (v *View) HandleEvent(event tcell.Event) {
|
||||
if v.Type == vtTerm {
|
||||
if _, ok := event.(*tcell.EventMouse); !ok {
|
||||
if _, ok := event.(*tcell.EventMouse); !ok || v.termState.Mode(terminal.ModeMouseMask) {
|
||||
v.pty.WriteString(event.EscSeq())
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user