diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-03-13 14:12:45 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-03-13 14:12:45 +0100 |
commit | 49f3f0af2cbbbeea7e075e4a7614182a9cccf549 (patch) | |
tree | fa52f1702d026a237ea8614cffe4c349fff75363 /src | |
parent | 8ab4af108217957ae1d17dc8bb0a9a0882142715 (diff) | |
download | poezio-49f3f0af2cbbbeea7e075e4a7614182a9cccf549.tar.gz poezio-49f3f0af2cbbbeea7e075e4a7614182a9cccf549.tar.bz2 poezio-49f3f0af2cbbbeea7e075e4a7614182a9cccf549.tar.xz poezio-49f3f0af2cbbbeea7e075e4a7614182a9cccf549.zip |
Text in TextWins not is cut one row before the end of line.
Thus fixing a strange display bug, and making it easier to
copy a text without the "|" at the end of line
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py index 1b414b37..2d62a35b 100644 --- a/src/windows.py +++ b/src/windows.py @@ -532,7 +532,7 @@ class TextWin(Win): first = True nb = 0 while txt != '': - (txt, cutted_txt) = cut_text(txt, self.width-offset) + (txt, cutted_txt) = cut_text(txt, self.width-offset-1) l = {'colorized': message.get('colorized'), 'text_offset':offset, 'text_color':message.get('color'), |