mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
fix(terminal) new line
This commit is contained in:
parent
c25fb99249
commit
16d57dc503
1 changed files with 1 additions and 7 deletions
|
|
@ -42,10 +42,8 @@ var CloudCmd, Util, DOM, CloudFunc, Terminal;
|
|||
CloudTerm.show = show;
|
||||
CloudTerm.write = write;
|
||||
|
||||
|
||||
function show(callback) {
|
||||
var size,
|
||||
socket = CloudCmd.Socket;
|
||||
var socket = CloudCmd.Socket;
|
||||
|
||||
if (!Loading) {
|
||||
Images.showLoad({top:true});
|
||||
|
|
@ -80,13 +78,9 @@ var CloudCmd, Util, DOM, CloudFunc, Terminal;
|
|||
'}'
|
||||
});
|
||||
|
||||
size = getSize();
|
||||
|
||||
Term = new Terminal({
|
||||
screenKeys: true,
|
||||
cursorBlink: false,
|
||||
cols: size.cols,
|
||||
rows: size.rows
|
||||
});
|
||||
|
||||
Term.open(Element);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue