Documentation ¶
Index ¶
Constants ¶
View Source
const ( BUFFER = "buffer" TEXT = "text" )
View Source
const ( SET_BUFFER = "set-buffer" SHOW_BUFFER = "show-buffer" LIST_BUFFER = "list-buffers" DELETE_BUFFER = "delete-buffer" )
View Source
const ( FORMAT = "format" FIELDS = "fields" )
View Source
const ( SESSION = "session" WINDOW = "window" PANE = "pane" VIEW = "view" CMD = "cmd" )
View Source
const ( NEW_SESSION = "new-session" NEW_WINDOW = "new-window" LINK_WINDOW = "link-window" SPLIT_WINDOW = "split-window" KILL_PANE = "kill-pane" KILL_WINDOW = "kill-window" KILL_SESSION = "kill-session" RENAME_WINDOW = "rename-window" RENAME_SESSION = "rename-session" SWITCH_CLIENT = "switch-client" SELECT_WINDOW = "select-window" SELECT_PANE = "select-pane" LIST_SESSION = "list-session" LIST_WINDOWS = "list-windows" LIST_PANES = "list-panes" SEND_KEYS = "send-keys" CAPTURE_PANE = "capture-pane" ENTER = "Enter" )
View Source
const SCRIPT = "script"
View Source
const TMUX = "tmux"
Variables ¶
View Source
var Index = &ice.Context{Name: TMUX, Help: "工作台", Commands: ice.Commands{ TMUX: {Name: "tmux path auto start order build download", Help: "服务", Actions: ice.MergeActions(ice.Actions{ cli.START: {Help: "启动", Hand: func(m *ice.Message, arg ...string) { m.Optionv(code.PREPARE, func(p string) []string { return []string{"-S", kit.Path(m.Option(cli.CMD_DIR, p), "tmux.socket"), NEW_SESSION, "-d", "-n", "miss"} }) m.Cmdy(code.INSTALL, cli.START, mdb.Config(m, nfs.SOURCE), "bin/tmux") }}, }, code.InstallAction(nfs.SOURCE, "http://mirrors.tencent.com/macports/distfiles/tmux/tmux-3.2.tar.gz")), Hand: func(m *ice.Message, arg ...string) { m.Cmdy(code.INSTALL, ctx.ConfigSimple(m, nfs.SOURCE), arg) }}, }}
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.