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
This commit is contained in:
parent
8ab4af1082
commit
49f3f0af2c
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue