mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Attempted to implement clear()
This commit is contained in:
parent
d606c2a1d6
commit
18fb0f5b01
@ -83,7 +83,7 @@
|
||||
"c9.ide.help.support": "#60e88f5680",
|
||||
"c9.ide.imgeditor": "#08bbc53578",
|
||||
"c9.ide.immediate": "#6845a93705",
|
||||
"c9.ide.installer": "#467006e798",
|
||||
"c9.ide.installer": "#6a565f792c",
|
||||
"c9.ide.mount": "#cb45b621f1",
|
||||
"c9.ide.navigate": "#64156c7f4a",
|
||||
"c9.ide.newresource": "#f1f0624768",
|
||||
|
||||
@ -368,6 +368,13 @@ define(function(require, exports, module) {
|
||||
write: function(data){
|
||||
return terminal.write(data);
|
||||
},
|
||||
/**
|
||||
*
|
||||
*/
|
||||
clear: function(data){
|
||||
terminal.ybase = 0;
|
||||
terminal.lines = terminal.lines.slice(-(terminal.ybase + terminal.rows));
|
||||
},
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user