Reset full-background property after a new line

This commit is contained in:
Junegunn Choi committed 2025-06-27 23:21:48 +09:00
1 parent 19d858f9b6
commit 111266d832
2 files changed
+5

No files matched your search

+2
View File
@@ -287,6 +287,8 @@ func extractColor(str string, state *ansiState, proc func(string, *ansiState) bo
[2]int32{int32(runeCount), int32(runeCount)},
marker,
})
// Reset the full-line background color
newState.lbg = -1
}
}