From 270266b5c7f82aa0cb06b5671b0f4b591e2732c9 Mon Sep 17 00:00:00 2001 From: Doman Date: Tue, 12 Apr 2022 19:26:34 +0200 Subject: [PATCH] clear screen on init --- fasttyper/interface.py | 1 + setup.cfg | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fasttyper/interface.py b/fasttyper/interface.py index 241b3bb..f3e9c99 100644 --- a/fasttyper/interface.py +++ b/fasttyper/interface.py @@ -16,6 +16,7 @@ class Interface: curses.init_pair(i + 1, i, -1) def init(self, screen): + screen.clear() self.init_colors() def update(self, screen): diff --git a/setup.cfg b/setup.cfg index 2932a5a..1c5b156 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.0.4 +current_version = 2.0.5 [wheel] universal = 1 diff --git a/setup.py b/setup.py index 1bfe0b5..4a16ca5 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.4", + version="2.0.5", author="Piotr Domanski", author_email="pi.domanski@gmail.com", description="Minimalistic typing exercise",