diff --git a/frame.js b/frame.js index 5a7882de..1d76526b 100644 --- a/frame.js +++ b/frame.js @@ -195,11 +195,12 @@ Volcanos("onengine", {help: "解析引擎", list: [], _init: function(can, meta, {name: "contexts", help: "上下文", index: "web.wiki.word", args: ["src/main.shy"]}, ]}, "cli": {name: "命令 cli", action: [ + {name: "bash", help: "命令行", index: "web.wiki.word", args: ["usr/icebergs/misc/zsh/bash.shy"]}, + {name: "zsh", help: "命令行", index: "web.wiki.word", args: ["usr/icebergs/misc/zsh/zsh.shy"]}, {name: "ssh", help: "命令行", index: "web.wiki.word", args: ["usr/icebergs/base/ssh/ssh.shy"]}, {name: "tmux", help: "命令行", index: "web.wiki.word", args: ["usr/icebergs/misc/tmux/tmux.shy"]}, {name: "git", help: "代码库", index: "web.wiki.word", args: ["usr/icebergs/misc/git/git.shy"]}, {name: "vim", help: "编辑器", index: "web.wiki.word", args: ["usr/icebergs/misc/vim/vim.shy"]}, - {name: "zsh", help: "命令行", index: "web.wiki.word", args: ["usr/icebergs/misc/zsh/zsh.shy"]}, ]}, "web": {name: "网页 web", action: [ {name: "HTML5", help: "浏览器", index: "web.wiki.word", args: ["usr/icebergs/misc/chrome/chrome.shy"]}, diff --git a/plugin/input.js b/plugin/input.js index 6fe7c7be..6d1da1ff 100644 --- a/plugin/input.js +++ b/plugin/input.js @@ -4,6 +4,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, conf, Volcanos("onaction", {help: "控件交互", list: [], "关闭": function(event, can) { can.page.Remove(can, can.sup._target) }, "上传": function(event, can) { can.user.upload(event, can) }, + "执行": function(event, can) { can.run(event) }, "刷新": function(event, can) { can.run(event) }, "查看": function(event, can) { can.run(event) }, "返回": function(event, can) {