From 0df800a3902011ef7583f15016d54795024ea86b Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 15 Sep 2023 12:57:47 -0700 Subject: [PATCH] for codeedit, set the focus to the line (not the input) --- pkg/cmdrunner/cmdrunner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmdrunner/cmdrunner.go b/pkg/cmdrunner/cmdrunner.go index 3a2504bc..b3089024 100644 --- a/pkg/cmdrunner/cmdrunner.go +++ b/pkg/cmdrunner/cmdrunner.go @@ -3202,7 +3202,7 @@ func CodeEditCommand(ctx context.Context, pk *scpacket.FeCommandPacketType) (sst // TODO tricky error since the command was a success, but we can't show the output return nil, err } - update, err := addLineForCmd(ctx, "/"+GetCmdStr(pk), false, ids, cmd, "code") + update, err := addLineForCmd(ctx, "/"+GetCmdStr(pk), true, ids, cmd, "code") if err != nil { // TODO tricky error since the command was a success, but we can't show the output return nil, err