summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugin.py b/src/plugin.py
index eca6baf2..2d8275ed 100644
--- a/src/plugin.py
+++ b/src/plugin.py
@@ -199,6 +199,14 @@ class PluginAPI(object):
"""
return self.core.current_tab()
+ def get_status(self, _):
+ """
+ Get the current user global status.
+
+ :returns Status: The current status.
+ """
+ return self.core.get_status()
+
def run_command(self, _, *args, **kwargs):
"""
Run a command from the current tab.