Skip to content

Commit

Permalink
enhanced mouse tracking is not restored
Browse files Browse the repository at this point in the history
  • Loading branch information
tmatz committed Feb 9, 2022
1 parent 0d961d2 commit 39161d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tscreen.go
Expand Up @@ -948,8 +948,9 @@ func (t *tScreen) enableMouse(f MouseFlags) {
if f&MouseMotionEvents != 0 {
t.TPuts("\x1b[?1003h")
}

t.TPuts("\x1b[?1006h")
if f != 0 {
t.TPuts("\x1b[?1006h")
}
}

}
Expand Down

0 comments on commit 39161d6

Please sign in to comment.