usage of should repaint in old functions

This commit is contained in:
Doman 2022-03-06 18:51:52 +01:00
parent 0451742a42
commit 1331c770a0

View file

@ -149,7 +149,7 @@ class BufferDependentComponent(BorderedBox):
word = word[:width]
if self.line_len(line_nr) + len(word) + 1 > self.width:
self.paint_line(line_nr)
self.should_repaint[line_nr] = True
line_nr += 1
if line_nr >= self.height: