Convenience function to get terminfo data in kittens

This commit is contained in:
Kovid Goyal
2024-03-21 10:58:46 +05:30
parent 198b69e275
commit 924b87a16a
2 changed files with 8 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ func TestExtractShellIntegration(t *testing.T) {
if err != nil {
t.Fatal(err)
}
os.WriteFile(kzsh, []byte("changed"), 0o644)
_ = os.WriteFile(kzsh, []byte("changed"), 0o644)
if err := extract_shell_integration_for("zsh", tdir); err != nil {
t.Fatal(err)
}
@@ -47,4 +47,5 @@ func TestExtractShellIntegration(t *testing.T) {
if _, err := os.Stat(filepath.Join(tdir, "terminfo", "78", kitty.DefaultTermName)); err != nil {
t.Fatal(err)
}
TerminfoData()
}