mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-18 15:04:04 +08:00
修复 终端提示行颜色
This commit is contained in:
parent
570989ea8b
commit
e277343cdd
@ -74,7 +74,7 @@
|
||||
term.open(document.getElementById('WebTerminal'));
|
||||
// 终端提示行
|
||||
term.prompt = function (command) {
|
||||
term.write('\x1B[1;1;32m' + '[' + term.TERM_TEXT_WHTILE
|
||||
term.write('\x1B[1;1;33m' + '[' + term.TERM_TEXT_WHTILE
|
||||
+ term.TERM_TEXT_GREEN + PAGE.serverName + '@' + 'app'
|
||||
+ term.TERM_TEXT_YELLOW + ']' + term.TERM_TEXT_WHTILE
|
||||
+ (MCSERVER.username.substr(0, 1) == '#' ? '# ' : '$ ')
|
||||
|
Loading…
Reference in New Issue
Block a user