diff --git a/fasttyper/components.py b/fasttyper/components.py index 44daebf..5deca76 100644 --- a/fasttyper/components.py +++ b/fasttyper/components.py @@ -147,7 +147,6 @@ class BufferDependentComponent(BorderedBox): for i in range(start_idx, self.buffer.total_words): word = self.buffer.get_word(i) - self.should_repaint[line_nr] = True if len(word) > self.width: word = word[: self.width - 1] @@ -159,6 +158,7 @@ class BufferDependentComponent(BorderedBox): break self.lines[line_nr].append(word) + self.should_repaint[line_nr] = True self.buffered_lines = self.height diff --git a/setup.cfg b/setup.cfg index 2269264..8681f72 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.0.1 +current_version = 2.0.2 [wheel] universal = 1 diff --git a/setup.py b/setup.py index af3c845..2de83b1 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open("requirements.txt", "r", encoding="utf-8") as fh: setup( name="fasttyper", - version="2.0.1", + version="2.0.2", author="Piotr Domanski", author_email="pi.domanski@gmail.com", description="Minimalistic typing exercise",