mirror of
https://github.com/gdamore/tcell.git
synced 2025-04-24 13:48:51 +08:00
enhanced mouse tracking mode (1006) is set improperly when exiting tcell (#512)
This commit is contained in:
parent
fba1334b37
commit
2a1a1b5864
@ -948,9 +948,10 @@ func (t *tScreen) enableMouse(f MouseFlags) {
|
||||
if f&MouseMotionEvents != 0 {
|
||||
t.TPuts("\x1b[?1003h")
|
||||
}
|
||||
|
||||
if f&(MouseButtonEvents|MouseDragEvents|MouseMotionEvents) != 0 {
|
||||
t.TPuts("\x1b[?1006h")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user