Skip to content
Snippets Groups Projects
Commit beca54c3 authored by rswindell's avatar rswindell
Browse files

Fix the mouse thing.

parent 804c829c
Branches
Tags
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment