Skip to content

Commit 57b251f

Browse files
authored
Merge pull request #4221 from apostasie/2025-05-fix-tigron-display
[Tigron]: fix debug display issue with pty
2 parents 51b5cf6 + e31a27f commit 57b251f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mod/tigron/internal/formatter/formatter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ func Table(data [][]any, mark string) string {
3939
for _, row := range data {
4040
key := fmt.Sprintf("%v", row[0])
4141
value := strings.ReplaceAll(fmt.Sprintf("%v", row[1]), "\t", " ")
42+
value = strings.ReplaceAll(value, "\r", "")
4243

4344
output += fmt.Sprintf("+%s+\n", strings.Repeat(mark, maxLineLength-2))
4445

0 commit comments

Comments
 (0)