summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Peter <sharkdp@users.noreply.github.com>2024-02-12 08:19:56 +0100
committerGitHub <noreply@github.com>2024-02-12 08:19:56 +0100
commitbc1ca1a34691e6cbd423c8b29e746dfbdbd70681 (patch)
treec542fe7a097828dc0c6f20983dbe305f75120899 /src
parent84d80eebd0b224cd799282121e817fa5f0d57d5e (diff)
parentf73512097894950e795daacf51e3852604c6be4d (diff)
Merge branch 'master' into fix-2185
Diffstat (limited to 'src')
-rw-r--r--src/decorations.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decorations.rs b/src/decorations.rs
index d3ed9b34..85d8103a 100644
--- a/src/decorations.rs
+++ b/src/decorations.rs
@@ -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(),