()
| 129 | var gValKey map[string]tcell.Key |
| 130 | |
| 131 | func init() { |
| 132 | gValKey = make(map[string]tcell.Key, len(gKeyVal)) |
| 133 | for k, v := range gKeyVal { |
| 134 | gValKey[v] = k |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | // for simplicity, assume there will only be one modifier (ctrl, shift or alt) |
| 139 | var reModKey = regexp.MustCompile(`<(c|s|a)-(.+)>`) |
nothing calls this directly
no outgoing calls
no test coverage detected