use term.reset() not term.clear()

This commit is contained in:
sawka
2022-08-19 16:38:24 -07:00
parent 5dda89aa1a
commit 739114045c
+1 -1
View File
@@ -170,7 +170,7 @@ class TermWrap {
return;
}
this.reloading = true;
this.terminal.clear();
this.terminal.reset();
let url = sprintf("http://localhost:8080/api/ptyout?sessionid=%s&cmdid=%s", this.sessionId, this.cmdId);
fetch(url).then((resp) => {
if (!resp.ok) {