From beca54c33a0505a3fa3c10651e2737272f41c3ea Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 1 May 2020 19:35:05 +0000 Subject: [PATCH] Fix the mouse thing. --- exec/load/ansiterm_lib.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exec/load/ansiterm_lib.js b/exec/load/ansiterm_lib.js index 4c94d98f85..1cb4c1f387 100644 --- a/exec/load/ansiterm_lib.js +++ b/exec/load/ansiterm_lib.js @@ -171,8 +171,8 @@ var ext_mode = { } var mouse = { - set: function(mode) { return format("\x1b[?%uh", defs.ext_mode['mouse_reporting']); }, - clear: function(mode) { return format("\x1b[?%ul", defs.ext_mode['mouse_reporting']); } + set: function(mode) { return format("\x1b[?%uh", defs.mouse_reporting[mode]); }, + clear: function(mode) { return format("\x1b[?%ul", defs.mouse_reporting[mode]); } } var speed = { @@ -215,7 +215,7 @@ function set_attributes(a) function send(a,b,c,d) { - log(LOG_DEBUG, "ansterm.sending: " + this[a][b](c,d)); + log(LOG_DEBUG, "ansiterm.sending: " + this[a][b](c,d)); console.write(this[a][b](c,d)); } -- GitLab