for codeedit, set the focus to the line (not the input)

This commit is contained in:
sawka 2023-09-15 12:57:47 -07:00
parent 1127d2cfbd
commit 0df800a390

View File

@ -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