Merge branch 'master' into fix-2185

This commit is contained in:
David Peter authored and GitHub committed 2024-02-12 08:19:56 +01:00
commit bc1ca1a346
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ impl Decoration for LineNumberDecoration {
_printer: &InteractivePrinter,
) -> DecorationText {
if continuation {
if line_number > self.cached_wrap_invalid_at {
if line_number >= self.cached_wrap_invalid_at {
let new_width = self.cached_wrap.width + 1;
return DecorationText {
text: self.color.paint(" ".repeat(new_width)).to_string(),