Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HuangJunbo
antSword
Commits
55f7af03
Commit
55f7af03
authored
Mar 16, 2019
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Change:Terminal)虚拟终端打开后提示本地命令菜单 ashelp
parent
b0256f69
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
2 deletions
+26
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
en.js
source/language/en.js
+12
-1
zh.js
source/language/zh.js
+12
-1
index.js
source/modules/terminal/index.js
+1
-0
No files found.
CHANGELOG.md
View file @
55f7af03
...
...
@@ -49,6 +49,7 @@
*
新增 「JSP Custom Shell For Oracle」
*
新增 Decodes 自动猜解编码,在中文少量的情况下,成功率会降低
*
系统托盘新增「重启应用」菜单
*
虚拟终端打开后提示本地命令菜单 ashelp
### BugFix
...
...
source/language/en.js
View file @
55f7af03
...
...
@@ -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
}
.`
),
},
},
...
...
source/language/zh.js
View file @
55f7af03
...
...
@@ -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
}
执行命令.`
),
},
},
...
...
source/modules/terminal/index.js
View file @
55f7af03
...
...
@@ -274,6 +274,7 @@ class Terminal {
}
}
});
this
.
term
.
echo
(
`[[b;cyan;](*)
${
LANG
[
'ascmd'
][
'help'
]}
]`
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment