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 e1a00bfeed
Select fonts in C, in a thread, during startup
Font selection was done in Python on the main thread, taking ~15ms at
startup on Linux and much more on macOS, where all installed fonts were
listed from CoreText and converted to Python, taking ~165ms.

Port the selection algorithm to pure C in font-select.c, with platform
backends in fontconfig.c and core_text.m, so that it can run in a thread
started by set_font_family(). The results are used when the first font
group is created, typically when the first OS Window is created. The
data for variable fonts is read from the font tables by C code that does
not use Python or FreeType.

The fontconfig backend lists all monospace fonts once and filters them
in C, as listing fonts is dominated by scanning all fonts. The CoreText
backend queries only the needed font families and PostScript names
instead of all installed fonts.

On Linux, the selected fonts are identical to those selected by the
previous Python implementation for ~1400 font specifications, including
variable fonts. The CoreText backend has not yet been compiled or tested.
2026-11-16 13:43:38 +05:30
.github Bump github/codeql-action from 4.39.1 to 4.39.3 in the actions group 2026-11-16 03:44:52 +00:00
3rdparty autoformat 2026-08-05 05:32:56 +05:30
bypy Fix freeze build failure 2026-11-16 13:43:38 +05:30
docs Build the Vulkan GPU driver in the Linux binary builds 2026-11-16 13:43:37 +05:30
gen Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-16 13:43:36 +05:30
glad Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-16 13:43:36 +05:30
glfw macOS: Require macOS 14 and drop code for older versions 2026-11-16 13:43:37 +05:30
gpu Vulkan: Create the swapchain with the right present mode the first time 2026-11-16 13:43:38 +05:30
kittens choose-files kitten: Limit the number of entries shown for zip archives 2026-11-14 12:19:17 +05:30
kitty Select fonts in C, in a thread, during startup 2026-11-16 13:43:38 +05:30
kitty_tests Select fonts in C, in a thread, during startup 2026-11-16 13:43:38 +05:30
logo autoformat 2026-08-05 05:32:56 +05:30
shell-integration ssh kitten: Fix remote directories being created world writable 2026-11-10 08:15:26 +05:30
terminfo
tools Cleanup previous PR 2026-11-14 08:29:17 +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-16 13:43:36 +05:30
.editorconfig
.gitattributes Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-16 13:43:36 +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 2026-08-05 05:32:56 +05:30
autoformat Don't autoformat the dependencies folder 2026-10-19 11:21:00 -05:00
benchmark.py More detail for on_quit events and a new on_cwd change event 2026-11-12 11:29:08 +05:30
Brewfile
build-terminfo
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 the all-go-deps group with 3 updates 2026-11-16 03:43:01 +00:00
go.sum Bump the all-go-deps group with 3 updates 2026-11-16 03:43:01 +00:00
INSTALL.md
key_encoding.json
LICENSE
local-agent.md ... 2026-08-07 09:26:06 +05:30
Makefile
publish.py ... 2026-10-27 13:15:20 +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 Fix freeze build failure 2026-11-16 13:43:38 +05:30
shell.nix Update shell.nix for vulkan support 2026-11-16 13:43:38 +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"]