release 2.0.2 - fix not updating lines with 1 word
This commit is contained in:
parent
43a2b86fd3
commit
3a9d5a15c8
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[bumpversion]
|
||||
current_version = 2.0.1
|
||||
current_version = 2.0.2
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
|
2
setup.py
2
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",
|
||||
|
|
Loading…
Reference in a new issue