diff options
-rw-r--r-- | poezio/poopt.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/poopt.py b/poezio/poopt.py index 016c04e1..51474222 100644 --- a/poezio/poopt.py +++ b/poezio/poopt.py @@ -104,6 +104,7 @@ def cut_text(string: str, width: int) -> List[Tuple[int, int]]: # This is one condition to end the line: an explicit \n is found if wc == '\n': + spos += 1 retlist.append((start_pos, spos)) # And then initiate a new line |