mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
use term.reset() not term.clear()
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user