Terminal Support

The Kitty Graphics Protocol is supported by:

TerminalSupportNotes
KittyFullVersion 0.19.0+
WezTermPartialCore features supported
KonsoleExperimentalKDE Konsole

Verify Support

Before rendering graphics, check support:

go
cmd := kgp.QuerySupport()
fmt.Print(cmd.Encode())
// Terminal responds with OK if supported

Performance Tips

  1. Local applications: Use TransmitSharedMemory for best performance
  2. Remote applications: Use PNG format to reduce transmission size
  3. Large images: Enable compression with Compress()
  4. Repeated images: Use placements (NewPut) instead of re-transmitting
  5. Animations: Use gap frames and frame composition efficiently

References