cleanup setMouse.

This commit is contained in:
Christopher Jeffrey 2015-02-24 18:05:10 -08:00
parent b42308c7cc
commit 190e75884d
1 changed files with 0 additions and 8 deletions

View File

@ -3053,10 +3053,6 @@ Program.prototype.setMouse = function(opt, enable) {
else this.resetMode('?1000'); 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 -> Use Hilite Mouse Tracking.
// Ps = 1 0 0 1 -> Don't use Hilite Mouse Tracking. // Ps = 1 0 0 1 -> Don't use Hilite Mouse Tracking.
if (opt.vt200Hilite != null) { if (opt.vt200Hilite != null) {
@ -3125,10 +3121,6 @@ Program.prototype.setMouse = function(opt, enable) {
else this._write('\x1b[0~ZwQ\x1b\\'); else this._write('\x1b[0~ZwQ\x1b\\');
} }
// TODO:
// sysmouse
// net
// gpm mouse // gpm mouse
if (opt.gpmMouse != null) { if (opt.gpmMouse != null) {
if (opt.gpmMouse) this.enableGpm(); if (opt.gpmMouse) this.enableGpm();