If you live in the terminal, kitty is made for you! Cross-platform, fast, feature-rich, GPU based. https://sw.kovidgoyal.net/kitty/
Find a file
Kovid Goyal cb7cf51d87
Glyph protocol: render registered glyphs
Cells containing a codepoint from the registration block that had a
registered glyph when they were printed are rendered with that glyph,
into the area the character occupies: its cell, the cells given to it
by the text sizing protocol, or two cells when it is followed by a space
and the width of its viewBox when fit to the cell height is more than
one cell.

The glyph is bound to the text when it is printed, by storing a
reference to it in the text cache entry of the cell. Changing or
clearing a registration affects only text printed afterwards, so
programs using the same codepoints do not change each other's output
and registering never requires re-rendering lines. Bound entries are
kept in a separate map so that other text is not slowed down. Glyphs
are interned by a seeded hash of their content.

Glyphs that use only the foreground color are alpha masks and glyphs
that use only fixed colors are colored sprites. Glyphs that mix them are
a colored sprite followed in the sprite map by a sprite with the weight
of the foreground color, which the cell shader combines with the
foreground color, so that selection, cursor and other foreground color
changes apply to them exactly.

Sprites of a glyph are freed when the glyph is, which happens only when
no cell uses it, and are reused. Each window can keep alive a limited
number and size of glyphs, beyond which registration fails with
no_space, so a program that keeps registering and printing new glyphs
cannot exhaust memory or sprites for other windows.
2026-11-19 19:57:38 +05:30
.github Read variable font data from WOFF and WOFF2 files in font selection 2026-11-19 19:57:36 +05:30
3rdparty
bypy Fix freeze build failure 2026-11-19 19:57:34 +05:30
docs Glyph protocol: render registered glyphs 2026-11-19 19:57:38 +05:30
gen Much faster SIMD UTF-8 decoding of valid UTF-8 2026-11-19 19:57:35 +05:30
glad Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 19:57:32 +05:30
glfw Add a mode to report scroll events to programs in full detail 2026-11-19 19:57:38 +05:30
gpu Vulkan: Create the swapchain with the right present mode the first time 2026-11-19 19:57:34 +05:30
kittens panel kitten: Use the invocation cwd and a cleaned env for single instance commands 2026-11-19 19:56:17 +05:30
kitty Glyph protocol: render registered glyphs 2026-11-19 19:57:38 +05:30
kitty_tests Glyph protocol: render registered glyphs 2026-11-19 19:57:38 +05:30
logo
shell-integration ssh kitten: Fix remote directories being created world writable 2026-11-10 08:15:26 +05:30
terminfo
tools Support detailed wheel events in the kittens framework 2026-11-19 19:57:38 +05:30
.clang-format ... 2026-08-05 20:01:16 +05:30
.clang-format-for-slang Prepare for autoformat of .slang files 2026-08-10 22:03:38 +05:30
.clang-format-ignore Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 19:57:32 +05:30
.editorconfig
.gitattributes Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 19:57:32 +05:30
.gitignore Dont exclude all leading dor files from rsync only the two cache dirs 2026-09-28 07:49:14 +05:30
__main__.py
autoformat Don't autoformat the dependencies folder 2026-10-19 11:21:00 -05:00
benchmark.py benchmark kitten: Add scrollback and render benchmarks and --output 2026-11-19 19:57:37 +05:30
Brewfile
build-terminfo
comparative_benchmark.py Make ty happy 2026-11-19 19:57:37 +05:30
CONTRIBUTING.md ... 2026-08-26 06:01:00 +05:30
count-lines-of-code Get count-lines-of-code to also count .slang files (as HLSL) 2026-08-12 10:30:35 +05:30
dev.sh
embeds.go
go.mod Bump version of dependency for CVE 2026-11-17 03:19:17 +05:30
go.sum Bump version of dependency for CVE 2026-11-17 03:19:17 +05:30
INSTALL.md
key_encoding.json
LICENSE
local-agent.md ... 2026-11-19 19:57:37 +05:30
Makefile
publish.py support for publishing from a version branch 2026-11-17 03:42:35 +05:30
pyproject.toml autoformat 2026-08-05 07:16:05 +05:30
README.asciidoc
rsync-and-build.sh Dont exclude all leading dor files from rsync only the two cache dirs 2026-09-28 07:49:14 +05:30
SECURITY.md
session.vim
setup.py Read variable font data from WOFF and WOFF2 files in font selection 2026-11-19 19:57:36 +05:30
shell.nix Update shell.nix for vulkan support 2026-11-19 19:57:34 +05:30
staticcheck.conf
test.py
update-on-ox use diskutil instead of hdiutil in update-on-ox as the latter is deprecated in macOS 27. Sigh. 2026-09-24 09:25:37 +05:30

= kitty - the fast, feature-rich, cross-platform, GPU based terminal

If you live in the terminal, *kitty* is made for **you**!

See https://sw.kovidgoyal.net/kitty/[the kitty website].

image:https://github.com/kovidgoyal/kitty/workflows/CI/badge.svg["Build status", link="https://github.com/kovidgoyal/kitty/actions?query=workflow%3ACI"]

https://sw.kovidgoyal.net/kitty/faq/[Frequently Asked Questions]

To ask other questions about kitty usage, use either the https://github.com/kovidgoyal/kitty/discussions/[discussions on GitHub] or the
https://www.reddit.com/r/KittyTerminal[Reddit community]

Packaging status in various repositories:

image:https://repology.org/badge/vertical-allrepos/kitty-terminal.svg?columns=3&header=kitty["Packaging status", link="https://repology.org/project/kitty-terminal/versions"]