mirror of
https://github.com/sigmasternchen/webcli
synced 2025-03-15 14:18:55 +00:00
initializing shell
This commit is contained in:
parent
989c99aba6
commit
ee0f7fc44c
1 changed files with 6 additions and 0 deletions
|
@ -3,4 +3,10 @@ window.onload = function() {
|
|||
terminal.calculateSize(window.innerWidth, window.innerHeight);
|
||||
document.body.innerHTML += terminal.getBasicHTML();
|
||||
terminal.init();
|
||||
|
||||
window.shell = new Shell();
|
||||
shell.output = function(text) {
|
||||
window.terminal.output(text);
|
||||
};
|
||||
shell.main([]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue