From 7bf0f9016cd195be20e76fbed8637b3b00a46725 Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 18 Jul 2019 22:46:00 -0300 Subject: Mouse drag support; pass detailed data to handlers ...for mouse events. Contains cursor position, modifier keys pressed, etc. --- util/ansi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/ansi.js') diff --git a/util/ansi.js b/util/ansi.js index f30e6ff..d58684f 100644 --- a/util/ansi.js +++ b/util/ansi.js @@ -107,11 +107,11 @@ const ansi = { }, startTrackingMouse() { - return `${ESC}[?1000h` + return `${ESC}[?1002h` }, stopTrackingMouse() { - return `${ESC}[?1000l` + return `${ESC}[?1002l` }, requestCursorPosition() { -- cgit 1.3.0-6-gf8a5