aboutsummaryrefslogtreecommitdiffstats
path: root/commands/term.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/term.go')
-rw-r--r--commands/term.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/term.go b/commands/term.go
index d115cd25..e8b1919d 100644
--- a/commands/term.go
+++ b/commands/term.go
@@ -15,7 +15,11 @@ type Term struct {
}
func init() {
- register(Term{})
+ Register(Term{})
+}
+
+func (Term) Context() CommandContext {
+ return GLOBAL
}
func (Term) Aliases() []string {