mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +08:00
update files
This commit is contained in:
parent
4e16de9f77
commit
07eb2b8b48
@ -13,7 +13,7 @@ module.exports = function (Terminal){
|
|||||||
// http://vt100.net/annarbor/aaa-ug/section6.html
|
// http://vt100.net/annarbor/aaa-ug/section6.html
|
||||||
Terminal.prototype.tabClear = function (params){
|
Terminal.prototype.tabClear = function (params){
|
||||||
var param = params[0];
|
var param = params[0];
|
||||||
|
|
||||||
if (param <= 0) {
|
if (param <= 0) {
|
||||||
delete this.tabs[this.x];
|
delete this.tabs[this.x];
|
||||||
} else if (param === 3) {
|
} else if (param === 3) {
|
||||||
|
@ -27,7 +27,7 @@ module.exports = function (Terminal){
|
|||||||
|
|
||||||
if (this.y < this.scrollTop) {
|
if (this.y < this.scrollTop) {
|
||||||
this.y++;
|
this.y++;
|
||||||
|
|
||||||
// possibly move the code below to term.reverseScroll();
|
// possibly move the code below to term.reverseScroll();
|
||||||
// test: echo -ne '\e[1;1H\e[44m\eM\e[0m'
|
// test: echo -ne '\e[1;1H\e[44m\eM\e[0m'
|
||||||
// blankLine(true) is xterm/linux behavior
|
// blankLine(true) is xterm/linux behavior
|
||||||
|
@ -12,7 +12,7 @@ module.exports = function (Terminal){
|
|||||||
*/
|
*/
|
||||||
Terminal.prototype.setgCharset = function (g, charset){
|
Terminal.prototype.setgCharset = function (g, charset){
|
||||||
this.charsets[g] = charset;
|
this.charsets[g] = charset;
|
||||||
|
|
||||||
if (this.glevel === g) {
|
if (this.glevel === g) {
|
||||||
this.charset = charset;
|
this.charset = charset;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user