Adding explicit update to click_command
so it doesn't have to wait for regular update.
This commit is contained in:
parent
9b2ac5d521
commit
cd3354e146
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ class Module(core.module.Module):
|
||||||
|
|
||||||
def click_command(self, event, command=None):
|
def click_command(self, event, command=None):
|
||||||
util.cli.execute(command, shell=True, ignore_errors=True, wait=True)
|
util.cli.execute(command, shell=True, ignore_errors=True, wait=True)
|
||||||
|
core.event.trigger("update", [self.id], redraw_only=True)
|
||||||
|
|
||||||
@core.decorators.scrollable
|
@core.decorators.scrollable
|
||||||
def get_output(self, _):
|
def get_output(self, _):
|
||||||
|
|
Loading…
Add table
Reference in a new issue