Skip to content

Commit adcdd1b

Browse files
committed
tui(edit_file): render errors using standard tool error header
Signed-off-by: pnkcaht <samzoovsk19@gmail.com>
1 parent 5121375 commit adcdd1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tui/components/tool/editfile/editfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func render(
5151
// - rejection/error message
5252
line := fmt.Sprintf(
5353
"%s%s %s",
54-
styles.ToolErrorIcon.Render("✖ "),
54+
toolcommon.Icon(msg, s),
5555
styles.ToolNameError.Render(msg.ToolDefinition.DisplayName()),
5656
styles.ToolErrorMessageStyle.Render(msg.Content),
5757
)

0 commit comments

Comments
 (0)