Skip to content

Commit c20cd0d

Browse files
committed
refactor: refactor coder block fence rendering to use RenderStep
- Replace `console.Render` with `console.RenderStep` for rendering coder block fences. Signed-off-by: codiing-hui <wecoding@yeah.net>
1 parent 19bbc6a commit c20cd0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ui/coders/commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func (c *CommandExecutor) coding(ctx context.Context, args ...string) error {
303303

304304
openFence, closeFence := c.editor.UpdateCodeFences(ctx, addedFiles)
305305

306-
console.Render("Selected coder block fences %s %s", openFence, closeFence)
306+
console.RenderStep("Selected coder block fences %s %s", openFence, closeFence)
307307

308308
userInput := strings.Join(args, " ")
309309
messages, err := c.editor.FormatMessages(map[string]any{

0 commit comments

Comments
 (0)