mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 13:08:25 +00:00
|
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Add two new image formats, f=8 with one byte per pixel that is an index into the terminal color palette and f=16 with a palette index followed by an alpha byte. Indices 0-247 are the SGR 256 color table entries and 248-255 are special colors: default background, default foreground, selection background and foreground, cursor, cursor text, URL color and one reserved slot. Such images change color automatically when the terminal colors change. The images are uploaded as integer textures and drawn by a separate shader program that looks up colors in the existing per window color table uniform block, so a color scheme change costs nothing extra and rendering of normal images is unaffected. Programs are switched only at boundaries between runs of indexed and normal images in draw order. The shader does bilinear filtering after the palette lookup since integer textures cannot be filtered. Animation and frame composition are not supported for these formats. Closes #10666 |
||
|---|---|---|
| .. | ||
| collection.go | ||
| command.go | ||
| command_test.go | ||