Commit 7d9bba10 authored by Sam Rushing's avatar Sam Rushing

removed debug print

after appending to the terminal, scroll cursor into view
parent 1b7631da
......@@ -23,6 +23,7 @@ if (window["WebSocket"]) {
switch (data[0]) {
case 'D':
$('#term').append (data.substring (1, data.length));
document.getElementById ('cursor').scrollIntoView();
break;
case 'I':
$('#input').append (data.substring (1, data.length));
......@@ -31,7 +32,6 @@ if (window["WebSocket"]) {
$('#input').html (data.substring (1, data.length));
break;
case 'C':
console.log ('clearing?');
$('#input').empty();
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment