From 244d3c03f983e639763d0cea559a598305e98abd Mon Sep 17 00:00:00 2001 From: Sniffleupagus <129890632+Sniffleupagus@users.noreply.github.com> Date: Sun, 18 Aug 2024 12:06:45 -0400 Subject: [PATCH] Change 'showcursor' to 'curso Signed-off-by: Sniffleupagus <129890632+Sniffleupagus@users.noreply.github.com> --- pwnagotchi/ui/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/ui/view.py b/pwnagotchi/ui/view.py index 4c713e83..12c1ed2f 100644 --- a/pwnagotchi/ui/view.py +++ b/pwnagotchi/ui/view.py @@ -136,7 +136,7 @@ class View(object): delay = 1.0 / self._config['ui']['fps'] while True: try: - if 'showcursor' not in self._config['ui'] or self._config['ui']['showcursor'] == True: + if self._config['ui'].get('cursor', False) == True: name = self._state.get('name') self.set('name', name.rstrip('█').strip() if '█' in name else (name + ' █')) self.update()