mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-17 16:34:25 +08:00
update files
This commit is contained in:
20
static/js/terminal/lib/csi/softReset.js
Normal file
20
static/js/terminal/lib/csi/softReset.js
Normal file
@@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (Terminal){
|
||||
// CSI ! p Soft terminal reset (DECSTR).
|
||||
// http://vt100.net/docs/vt220-rm/table4-10.html
|
||||
Terminal.prototype.softReset = function (params){
|
||||
this.cursorHidden = false;
|
||||
this.insertMode = false;
|
||||
this.originMode = false;
|
||||
this.wraparoundMode = false; // autowrap
|
||||
this.applicationKeypad = false; // ?
|
||||
this.scrollTop = 0;
|
||||
this.scrollBottom = this.rows - 1;
|
||||
this.curAttr = this.defAttr;
|
||||
this.x = this.y = 0; // ?
|
||||
this.charset = null;
|
||||
this.glevel = 0; // ??
|
||||
this.charsets = [null]; // ??
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user