Improve generators

This commit is contained in:
Unrud 2021-09-18 21:17:52 +02:00
parent aa903a664a
commit c1a55e57ae
3 changed files with 4 additions and 1 deletions

View file

@ -101,7 +101,8 @@ func main() {
}
keysymsMap[unicode] = keysym
}
content := "// +build portal x11\n\n" +
content := "// Code generated by keysyms.generator.go. DO NOT EDIT.\n" +
"// +build portal x11\n\n" +
"package main\n\n" +
"var keysymsMap = map[rune]Keysym{\n"
keys := make([]rune, 0)