diff options
author | Florrie <towerofnix@gmail.com> | 2018-12-08 03:01:02 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-12-08 03:01:02 -0400 |
commit | 9ab92766dd225cdf6db0e465057f8f7fddddac28 (patch) | |
tree | b9f747dafb369a1e1196685a3dd08320622bd4d3 | |
parent | 1f434c1ef11fa55bab1718ea4e3ca8d115c0dfb1 (diff) |
Set VT200 mouse instead of X10 mouse
Reference: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking For some reason this works better with tmux than X10 mouse (and it still works in ordinary, non-tmux windows).
-rw-r--r-- | util/ansi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ansi.js b/util/ansi.js index 6d26f5d..860a4fa 100644 --- a/util/ansi.js +++ b/util/ansi.js @@ -105,7 +105,7 @@ const ansi = { }, startTrackingMouse() { - return `${ESC}[?9h` + return `${ESC}[?1000h` }, requestCursorPosition() { |