1
0
forked from x/icebergs

fix chat.footer

This commit is contained in:
shaoying 2020-04-01 23:23:39 +08:00
parent 67bcbc08da
commit 4a548ed089
2 changed files with 7 additions and 5 deletions

View File

@ -396,7 +396,7 @@ var Index = &ice.Context{Name: "chat", Help: "聊天中心",
"/header": {Name: "/header", Help: "菜单栏", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {}}, "/header": {Name: "/header", Help: "菜单栏", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {}},
"/footer": {Name: "/input", Help: "输入", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { "/footer": {Name: "/input", Help: "输入", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
m.Echo(m.Conf(ice.WEB_SHARE, "meta.email")) m.Echo(m.Conf(ice.WEB_SHARE, "meta.email"))
m.Echo(m.Conf(ice.WEB_SHARE, "meta.record")) m.Echo(m.Conf(ice.WEB_SHARE, "meta.legal"))
}}, }},
"/target": {Name: "/target", Help: "对话框", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {}}, "/target": {Name: "/target", Help: "对话框", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {}},

View File

@ -177,6 +177,8 @@ ShyInit() {
# bash # bash
bind -x '"\C-G\C-R":ShySync base' bind -x '"\C-G\C-R":ShySync base'
bind -x '"\C-G\C-G":ShySync history' bind -x '"\C-G\C-G":ShySync history'
bind -x '"\C-P":history-search-backward'
bind -x '"\C-N":history-search-forward'
# bind 'TAB:complete' # bind 'TAB:complete'
bind 'TAB:menu-complete' bind 'TAB:menu-complete'
@ -194,8 +196,8 @@ ShyInit() {
fi fi
echo "url: ${ctx_url}" echo "url: ${ctx_url}"
echo -n "pid: $$ " echo -n "pid: $$"
echo -n "begin: ${ctx_begin} " echo -n "begin: ${ctx_begin}"
echo -n "share: ${ctx_share} " echo -n "share: ${ctx_share}"
echo "pane: $TMUX_PANE " echo "pane: $TMUX_PANE"
} }