Commit 1fe0a7a2 authored by antoor's avatar antoor

Pause for command execution is completed

暂停以等待命令执行完毕
parent f6b19589
......@@ -136,7 +136,7 @@ class Terminal {
if (cmd === 'exit' || cmd === 'quit') { return this.cell.close() }
// clear清空
if (cmd === 'cls' || cmd === 'clear') { return term.clear() }
// term.pause();
term.pause();
// 是否有缓存
let cacheTag = 'command-' + new Buffer(this.path + cmd).toString('base64');
let cacheCmd = this.cache.get(cacheTag);
......
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