From 437a01a4c9d756eb91ea603ca0d0a8e82369493c Mon Sep 17 00:00:00 2001 From: shy Date: Sun, 25 Feb 2024 13:22:28 +0800 Subject: [PATCH] add some --- base/web/dream.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/web/dream.go b/base/web/dream.go index a4cebe69..a87be6fb 100644 --- a/base/web/dream.go +++ b/base/web/dream.go @@ -346,7 +346,11 @@ func init() { }}, FOR_FLOW: {Name: "forFlow name cmd*='sh etc/miss.sh'", Help: "流程", Icon: "bi bi-terminal", Hand: func(m *ice.Message, arg ...string) { m.Options(ctx.DISPLAY, PLUGIN_XTERM, cli.CMD_OUTPUT, nfs.NewWriteCloser(func(buf []byte) (int, error) { - PushNoticeGrow(m.Options(ice.MSG_COUNT, "0", ice.LOG_DEBUG, ice.FALSE), strings.ReplaceAll(string(buf), lex.NL, "\r\n")) + PushNoticeGrow(m.Options( + ice.MSG_COUNT, "0", + ice.LOG_DEBUG, ice.FALSE, + ice.LOG_DISABLE, ice.TRUE, + ), strings.ReplaceAll(string(buf), lex.NL, "\r\n")) return len(buf), nil }, nil)) msg := m.Spawn(ice.Maps{ice.MSG_DEBUG: ice.FALSE})