diff --git a/application.py b/application.py index e715aff..bbb3109 100755 --- a/application.py +++ b/application.py @@ -627,7 +627,7 @@ class Application(object): else: self.highlight_chars(slot.y_offset + count, px-x + w.mode.lmargin, slot.width - 1, fg, bg) px += slot.width - px + x - 1 - if x + slot.width >= len(w.buffer.lines[y]): + if x + slot.width > len(w.buffer.lines[y]): x = 0 y += 1 else: