Skip to content
Snippets Groups Projects
Verified Commit 6c2d7e47 authored by rahix's avatar rahix
Browse files

feat(menu.py): Improve error message


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent b9ba0feb
No related branches found
No related tags found
No related merge requests found
...@@ -72,9 +72,21 @@ def main(): ...@@ -72,9 +72,21 @@ def main():
current = 0 current = 0
for ev in button_events(): for ev in button_events():
if numapps == 0: if numapps == 0:
disp.clear() disp.clear(color.COMMYELLOW)
disp.print("No apps", posy=0) disp.print(
disp.print("available", posy=20) " No apps ",
posx=17,
posy=20,
fg=color.COMMYELLOW_DARK,
bg=color.COMMYELLOW,
)
disp.print(
"available",
posx=17,
posy=40,
fg=color.COMMYELLOW_DARK,
bg=color.COMMYELLOW,
)
disp.update() disp.update()
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment