Adding explicit update to click_command

so it doesn't have to wait for regular update.
This commit is contained in:
Andrei Lando 2023-09-12 17:15:27 +04:00
parent 9b2ac5d521
commit cd3354e146

View file

@ -87,6 +87,7 @@ class Module(core.module.Module):
def click_command(self, event, command=None):
util.cli.execute(command, shell=True, ignore_errors=True, wait=True)
core.event.trigger("update", [self.id], redraw_only=True)
@core.decorators.scrollable
def get_output(self, _):