mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Change 'showcursor' to 'curso
Signed-off-by: Sniffleupagus <129890632+Sniffleupagus@users.noreply.github.com>
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user