summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-20 19:42:58 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commita59ac064d2caa9197c57a3c3e99cf377d5ad0b55 (patch)
treecd9269af9f767a495444c5327a3f666a7fdf913d /pkg/gui/context.go
parent433d54fcec8bd8ec7f978ec30574d2e1273b7817 (diff)
statically define context keys
Diffstat (limited to 'pkg/gui/context.go')
-rw-r--r--pkg/gui/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/context.go b/pkg/gui/context.go
index e33a15a33..93b6cfb11 100644
--- a/pkg/gui/context.go
+++ b/pkg/gui/context.go
@@ -156,7 +156,7 @@ func (gui *Gui) contextTree() ContextTree {
OnFocus: gui.handleStatusSelect,
Kind: SIDE_CONTEXT,
ViewName: "status",
- Key: "status",
+ Key: STATUS_CONTEXT_KEY,
},
},
Files: SimpleContextNode{