Source File
iterm2.go
Belonging Package
github.com/charmbracelet/x/ansi
package ansiimport// ITerm2 returns a sequence that uses the iTerm2 proprietary protocol. Use the// iterm2 package for a more convenient API.//// OSC 1337 ; key = value ST//// Example://// ITerm2(iterm2.File{...})//// See https://iterm2.com/documentation-escape-codes.html// See https://iterm2.com/documentation-images.htmlfunc ( any) string {return "\x1b]1337;" + fmt.Sprint() + "\x07"}
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)