Terminal Support
The Kitty Graphics Protocol is supported by:
| Terminal | Support | Notes |
|---|---|---|
| Kitty | Full | Version 0.19.0+ |
| WezTerm | Partial | Core features supported |
| Konsole | Experimental | KDE Konsole |
Verify Support
Before rendering graphics, check support:
go
cmd := kgp.QuerySupport()
fmt.Print(cmd.Encode())
// Terminal responds with OK if supportedPerformance Tips
- Local applications: Use
TransmitSharedMemoryfor best performance - Remote applications: Use PNG format to reduce transmission size
- Large images: Enable compression with
Compress() - Repeated images: Use placements (
NewPut) instead of re-transmitting - Animations: Use gap frames and frame composition efficiently