Fix internal string binding representation

This commit is contained in:
Zachary Yedidia
2020-11-05 15:52:25 -05:00
parent 5d230754a8
commit 95fea064b0
7 changed files with 18 additions and 8 deletions

View File

@@ -4,8 +4,12 @@ const (
DoubleClickThreshold = 400 // How many milliseconds to wait before a second click is not a double click
)
var Bindings map[string]string
var Bindings map[string]map[string]string
func init() {
Bindings = make(map[string]string)
Bindings = map[string]map[string]string{
"command": make(map[string]string),
"buffer": make(map[string]string),
"terminal": make(map[string]string),
}
}