Skip to content

Commit e31a27f

Browse files
committed
Fix debug display issue with pty
Signed-off-by: apostasie <[email protected]>
1 parent 10555b2 commit e31a27f

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)