mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-28 13:48:51 +08:00
Include newline when printing cell differences.
This commit is contained in:
parent
486172e4f9
commit
20c31cb800
@ -100,7 +100,7 @@ func Diff(want, got *Terminal) string {
|
||||
for col := 0; col < size.X; col++ {
|
||||
got := got.BackBuffer()[col][row].Rune
|
||||
want := want.BackBuffer()[col][row].Rune
|
||||
b.WriteString(fmt.Sprintf(" cell(%v, %v) => got '%c' (rune %d), want '%c' (rune %d)", col, row, got, got, want, want))
|
||||
b.WriteString(fmt.Sprintf(" cell(%v, %v) => got '%c' (rune %d), want '%c' (rune %d)\n", col, row, got, got, want, want))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user