mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 03:14:07 +08:00
update files
This commit is contained in:
parent
84a8c4ac15
commit
4de84b1680
10
canvas.html
10
canvas.html
@ -83,12 +83,12 @@
|
||||
function write(){
|
||||
[
|
||||
' \u001b[36;1mgulp-cmd \u001b[0mconcat: \u001b[35mAssets/js/util/ztree/3.5.0/css/img/diy/8.png\u001b[39m start\u001b[36m +0ms\u001b[0m',
|
||||
' \u001b[36;1mgulp-cmd \u001b[0mconcat: \u001b[35mAssets/js/util/ztree/3.5.0/css/img/diy/8.png\u001b[39m ...ok\u001b[36m +0ms\u001b[0m\r\n'
|
||||
].forEach(function (line){ xterm.write(line + '\n'); });
|
||||
' \u001b[36;1mgulp-cmd \u001b[0mconcat: \u001b[35mAssets/js/util/ztree/3.5.0/css/img/diy/8.png\u001b[39m ...ok\u001b[36m +0ms\u001b[0m'
|
||||
].forEach(function (line){ xterm.write(line + ' ' + new Date().toISOString() + '\n'); });
|
||||
|
||||
xterm.write('\033[4;41;32m红底下划线绿字\033[0m\r\n' + new Date().toISOString() + '\r\n');
|
||||
xterm.write('\n \033[4;41;32m红底下划线绿字\033[0m\n ' + new Date().toISOString() + '\n\n');
|
||||
|
||||
document.getElementById('term').innerHTML = xterm.toString('html');
|
||||
// document.getElementById('term').innerHTML = xterm.toString('html');
|
||||
|
||||
canvasXTerm.draw(xterm.styles());
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
|
||||
termCanvas.getContext('2d').drawImage(canvasXTerm.canvas, 0, 0);
|
||||
|
||||
setTimeout(write, 1000 - new Date().getMilliseconds());
|
||||
setTimeout(write, 0 - new Date().getMilliseconds());
|
||||
}
|
||||
|
||||
write();
|
||||
|
Loading…
x
Reference in New Issue
Block a user