Documentation
¶
Index ¶
- Variables
- func EnsureShellIntegrationFilesFor(shell_name string) (shell_integration_dir_for_shell string, err error)
- func EnsureTerminfoFiles() (terminfo_dir string, err error)
- func IsSupportedShell(shell_name string) bool
- func PathToTerminfoDb(term string) (ans string)
- func Setup(shell_name string, ksi_var string, argv []string, env map[string]string) ([]string, map[string]string, error)
- func TerminfoData() string
- type Container
- type Entry
Constants ¶
This section is empty.
Variables ¶
View Source
var Data = sync.OnceValue(func() Container { tr := tar.NewReader(utils.ReaderForCompressedEmbeddedData(embedded_data)) ans := make(Container, 64) for { hdr, err := tr.Next() if errors.Is(err, io.EOF) { break } if err != nil { panic(err) } data, err := utils.ReadAll(tr, int(hdr.Size)) if err != nil { panic(err) } ans[hdr.Name] = Entry{hdr, data} } return ans })
Functions ¶
func EnsureTerminfoFiles ¶
func IsSupportedShell ¶
func PathToTerminfoDb ¶
func TerminfoData ¶
func TerminfoData() string
Types ¶
Click to show internal directories.
Click to hide internal directories.