From 190e75884d3a7460ace64259ea647c2baf269611 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 24 Feb 2015 18:05:10 -0800 Subject: [PATCH] cleanup setMouse. --- lib/program.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/program.js b/lib/program.js index 300151b..aae0f93 100644 --- a/lib/program.js +++ b/lib/program.js @@ -3053,10 +3053,6 @@ Program.prototype.setMouse = function(opt, enable) { else this.resetMode('?1000'); } - // Linux Console actually *does* support mouse reporting. - // See: `$ man console_codes`. - if (this.term('linux')) return; - // Ps = 1 0 0 1 -> Use Hilite Mouse Tracking. // Ps = 1 0 0 1 -> Don't use Hilite Mouse Tracking. if (opt.vt200Hilite != null) { @@ -3125,10 +3121,6 @@ Program.prototype.setMouse = function(opt, enable) { else this._write('\x1b[0~ZwQ\x1b\\'); } - // TODO: - // sysmouse - // net - // gpm mouse if (opt.gpmMouse != null) { if (opt.gpmMouse) this.enableGpm();