Skip to content

Commit 6708db5

Browse files
committed
Fixed welcome message being overlayed on top of the window (made by sd18ub)
1 parent b5de021 commit 6708db5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,7 @@ def show_welcome_page(self):
16151615
"""
16161616
Simply shows a message to the user welcoming him to the app.
16171617
"""
1618+
self.stdscr.clear()
16181619
for i, line in enumerate(self.get_translation("welcome_page")):
16191620
self.stdscr.addstr(
16201621
5 + i,
@@ -1636,7 +1637,8 @@ def show_welcome_page(self):
16361637
self.command_symbol,
16371638
curses.color_pair(self.color_pairs["statement"])
16381639
)
1639-
1640+
self.stdscr.getch()
1641+
self.stdscr.clear()
16401642

16411643

16421644
def change_language(self):

0 commit comments

Comments
 (0)