From 09ecad4981f39aecb80d397beb2922e91bc8a390 Mon Sep 17 00:00:00 2001 From: Brikwerk Date: Sat, 5 Sep 2020 23:59:56 -0700 Subject: [PATCH] Added new loader --- nxbt/tui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nxbt/tui.py b/nxbt/tui.py index c00fb37..8d88e52 100644 --- a/nxbt/tui.py +++ b/nxbt/tui.py @@ -11,7 +11,7 @@ from .nxbt import Nxbt, PRO_CONTROLLER class LoadingSpinner(): - SPINNER_CHARS = ['⢸', '⣰', '⣤', '⣆', '⡇', '⠏', '⠛', '⠹'] + SPINNER_CHARS = ['■ □ □ □', '□ ■ □ □', '□ □ ■ □', '□ □ □ ■', '□ □ □ ■', '□ □ ■ □', '□ ■ □ □', '■ □ □ □'] # noqa def __init__(self): @@ -332,7 +332,7 @@ class InputTUI(): # Loading Screen while inp != chr(113): # Checking for q press # Check key at 15hz - inp = term.inkey(timeout=1/15) + inp = term.inkey(timeout=1/30) new_state = self.nx.state[self.controller_index]["state"] if new_state != state: