[main] Update status bar via event

This commit is contained in:
tobi-wan-kenobi 2020-04-12 14:44:34 +02:00
parent 07ca5cf383
commit f965c6b664

View file

@ -32,7 +32,7 @@ def handle_input(output):
modules[event['name']] = True
except ValueError:
pass
output.update(modules.keys())
core.event.trigger('update-modules', modules.keys())
core.event.trigger('update')
poll.unregister(sys.stdin.fileno())