release 2.0.2 - fix not updating lines with 1 word

This commit is contained in:
Doman 2022-03-07 19:32:02 +01:00
parent 43a2b86fd3
commit 3a9d5a15c8
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.0.1
current_version = 2.0.2
[wheel]
universal = 1

View file

@ -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",