initializing shell

This commit is contained in:
overflowerror 2014-07-03 15:24:19 +02:00
parent 989c99aba6
commit ee0f7fc44c

View file

@ -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([]);
}