summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/windows.py2
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'),