Source File
inband.go
Belonging Package
github.com/charmbracelet/x/ansi
package ansiimport// InBandResize encodes an in-band terminal resize event sequence.//// CSI 48 ; height_cells ; widht_cells ; height_pixels ; width_pixels t//// See https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83func (, , , int) string {if < 0 {= 0}if < 0 {= 0}if < 0 {= 0}if < 0 {= 0}return fmt.Sprintf("\x1b[48;%d;%d;%d;%dt", , , , )}
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)