scrolling and updated header image
This commit is contained in:
parent
129a3ee2db
commit
8fa11c4f00
2 changed files with 39 additions and 2 deletions
|
|
@ -8,26 +8,32 @@ class TerminalAdapter {
|
|||
// Output methods - delegate to terminal
|
||||
print(text, className = "") {
|
||||
this.terminal.print(text, className);
|
||||
this.scrollToBottom();
|
||||
}
|
||||
|
||||
printHTML(html, className = "") {
|
||||
this.terminal.printHTML(html, className);
|
||||
this.scrollToBottom();
|
||||
}
|
||||
|
||||
printError(text) {
|
||||
this.terminal.printError(text);
|
||||
this.scrollToBottom();
|
||||
}
|
||||
|
||||
printSuccess(text) {
|
||||
this.terminal.printSuccess(text);
|
||||
this.scrollToBottom();
|
||||
}
|
||||
|
||||
printInfo(text) {
|
||||
this.terminal.printInfo(text);
|
||||
this.scrollToBottom();
|
||||
}
|
||||
|
||||
printWarning(text) {
|
||||
this.terminal.printWarning(text);
|
||||
this.scrollToBottom();
|
||||
}
|
||||
|
||||
clear() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue