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