未验证 提交 0c9e7537 编写于 作者: G GitSquared

🐛 Refactor fit bug on terminal

上级 735b33eb
......@@ -107,14 +107,7 @@ class Terminal {
this.fit();
setTimeout(() => {
this.fit();
if (process.platform === "win32") {
// Force Powershell to print a prompt
setTimeout(() => {
this.write("n");
this.write("\b");
}, 1000);
}
}, 200);
}, 1200);
};
this.socket.onerror = e => {throw JSON.stringify(e)};
this.socket.onclose = e => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册