1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00

fix buffer

This commit is contained in:
shaoying 2019-11-29 12:36:03 +08:00
parent ddfd8ec3fa
commit 6c965b24db

View File

@ -706,6 +706,9 @@ var Index = &ctx.Context{Name: "code", Help: "代码中心",
case "buffer":
// 操作缓存
if len(arg) > 5 {
m.Cmd(prefix, "set-buffer", "-b", arg[4], arg[5])
}
if len(arg) > 4 {
m.Cmdy(prefix, "show-buffer", "-b", arg[4])
return