Rename go module from kitty -> github.com/kovidgoyal/kitty

Makes the code more easily re-useable in other projects
This commit is contained in:
Kovid Goyal
2025-05-16 08:43:35 +05:30
parent 66b13aa6d4
commit c861259e3b
163 changed files with 507 additions and 506 deletions

View File

@@ -540,7 +540,8 @@ def normalize_shortcuts(spec: str) -> Iterator[str]:
def gen_go_code(defn: Definition) -> str:
lines = ['import "fmt"', 'import "strconv"', 'import "kitty/tools/config"', 'import "kitty/tools/utils/style"',
lines = ['import "fmt"', 'import "strconv"', 'import "github.com/kovidgoyal/kitty/tools/config"',
'import "github.com/kovidgoyal/kitty/tools/utils/style"',
'var _ = fmt.Println', 'var _ = config.StringToBool', 'var _ = strconv.Atoi', 'var _ = style.ParseColor']
a = lines.append
keyboard_shortcuts = tuple(defn.iter_all_maps())