Commit 55f7af03 authored by Medicean's avatar Medicean

(Change:Terminal)虚拟终端打开后提示本地命令菜单 ashelp

parent b0256f69
......@@ -49,6 +49,7 @@
* 新增 「JSP Custom Shell For Oracle」
* 新增 Decodes 自动猜解编码,在中文少量的情况下,成功率会降低
* 系统托盘新增「重启应用」菜单
* 虚拟终端打开后提示本地命令菜单 ashelp
### BugFix
......
......@@ -199,7 +199,18 @@ module.exports = {
path: 'Current Path'
},
ascmd: {
ashelp: `Usage:\nascmd file\t\tExecute the command with file, eg: ascmd /bin/bash\n`,
help: 'Enter ashelp to view local commands',
ashelp: `Usage:
ascmd file\t\tExecute the command with file, eg: ascmd /bin/bash
quit\t\tClose terminal
exit\t\tClose terminal
Hot Keys:
Ctrl =\t\tIncrease font
Ctrl -\t\tDecrease font
Ctrl L\t\tClean screen
Ctrl U\t\tClear the current row
`,
ascmd: (cmd) => antSword.noxss(`Will execute the command with ${cmd}.`),
},
},
......
......@@ -200,7 +200,18 @@ module.exports = {
path: '当前路径'
},
ascmd: {
ashelp: `使用帮助:\nascmd file\t\t指定file来执行命令,eg: ascmd /bin/bash\n`,
help: '输入 ashelp 查看本地命令',
ashelp: `使用帮助:
ascmd file\t\t指定file来执行命令, eg: ascmd /bin/bash
quit\t\t关闭终端
exit\t\t关闭终端
快捷键:
Ctrl =\t\t放大字体
Ctrl -\t\t缩小字体
Ctrl L\t\t清屏
Ctrl U\t\t清除当前行
`,
ascmd: (cmd) => antSword.noxss(`将使用 ${cmd} 执行命令.`),
},
},
......
......@@ -274,6 +274,7 @@ class Terminal {
}
}
});
this.term.echo(`[[b;cyan;](*) ${LANG['ascmd']['help']}]`);
}
/**
......
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