From 9ab92766dd225cdf6db0e465057f8f7fddddac28 Mon Sep 17 00:00:00 2001 From: Florrie Date: Sat, 8 Dec 2018 03:01:02 -0400 Subject: 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). --- util/ansi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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() { -- cgit 1.3.0-6-gf8a5