Versions in this module Expand all Collapse all v1 v1.0.4 Apr 3, 2022 Changes in this version + const ITERM_IMG_FTR + const ITERM_IMG_HDR + const KITTY_IMG_FTR + const KITTY_IMG_HDR + const SIXEL_MAX + const SIXEL_MIN + var ESC_ERASE_DISPLAY = "\x1b[2J\x1b[0;0H" + var E_NON_TTY = errors.New("NON TTY") + var E_TIMED_OUT = errors.New("TERM RESPONSE TIMED OUT") + func GetEnvIdentifiers() map[string]string + func GetTtyPath(pF *os.File) (string, error) + func IsSixelCapable() (bool, error) + func IsTermItermWez() bool + func IsTermKitty() bool + func IsTmuxScreen() bool + func RequestTermAttributes() (sAttrs []int, E error) + func TermRequestResponse(fileIN, fileOUT *os.File, sRq string) (sRsp []byte, E error) + func TmuxOscOpenClose(opn, cls string) (string, string) + type CustomWriFunc func(io.Writer, []byte) (int, error) + type Settings struct + EscapeTmux bool + func (S Settings) ItermCopyFileInline(out io.Writer, in io.Reader, nLen int64) (E error) + func (S Settings) ItermWriteImage(out io.Writer, iImg image.Image) error + func (S Settings) KittyCopyPNGInline(out io.Writer, in io.Reader, nLen int64) (E error) + func (S Settings) KittyWriteImage(out io.Writer, iImg image.Image) error + func (S Settings) SixelWriteImage(out io.Writer, pI *image.Paletted) (E error) + type WriteChunker struct + func NewWriteChunker(iWri io.Writer, chunkSize int) WriteChunker + func (pC *WriteChunker) Flush() (E error) + func (pC *WriteChunker) Write(src []byte) (int, error)