summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index a6341f755..1a2ec44ba 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -49,6 +49,9 @@ func (gui *Gui) GenerateSentinelErrors() {
}
}
+// Teml is short for template used to make the required map[string]interface{} shorter when using gui.Tr.SLocalize and gui.Tr.TemplateLocalize
+type Teml map[string]interface{}
+
// Gui wraps the gocui Gui object which handles rendering and events
type Gui struct {
g *gocui.Gui