cleanup setMouse.
This commit is contained in:
parent
b42308c7cc
commit
190e75884d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue