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 979087e044
Add a Metal GPU driver and an MSL shader target
On macOS, kitty now tries to render using Metal, falling back to OpenGL,
see the gpu_driver option. The driver has not yet been compiled or run
on macOS, it was written on Linux and only syntax checked against stub
headers.

Shader targets of the form msl-NN (for MSL N.N) compile each program to
a single MSL source file containing the entry points for all stages,
compiled by the driver at runtime, for the built-in and custom shaders.
slangc ignores [[vk::binding]] for Metal, so the program metadata keeps
the kitty binding slots and passes the argument table indices assigned
by slangc as native names. The push constant block, emitted as an
ordinary constant buffer, is recognized by the name of its type. As
Metal has y=1 at the top in NDC, the generated code is fixed up to
negate the y coordinate of the position output by vertex entry points.
Layouts that would differ because bool is a single byte in MSL are
rejected. The MSL is validated with the Metal compiler when available.
The MSL shaders are temporarily built on all platforms, for development.

The driver follows the design of the Vulkan driver: command buffers with
serials and at most three in flight, copy on write of buffer storage the
GPU may still use, private textures uploaded with blits from staging
memory, pipeline variants created when first used and a CAMetalLayer
per window. Vertex inputs whose offset or stride is not a multiple of
four bytes, as Metal requires, are repacked into a cached copy.
2026-11-19 07:35:31 +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 Build the Vulkan GPU driver in the Linux binary builds 2026-11-19 07:35:31 +05:30
docs Build the Vulkan GPU driver in the Linux binary builds 2026-11-19 07:35:31 +05:30
gen Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
glad Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
glfw Move OpenGL context creation from glfw into the GPU driver 2026-11-19 07:35:30 +05:30
gpu Add a Metal GPU driver and an MSL shader target 2026-11-19 07:35:31 +05:30
kittens ask kitten: Fix clicks hitting the wrong choice when the dialog does not fit 2026-11-17 19:26:38 +05:30
kitty Add a Metal GPU driver and an MSL shader target 2026-11-19 07:35:31 +05:30
kitty_tests Add a Metal GPU driver and an MSL shader target 2026-11-19 07:35:31 +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 Update Se terminfo entry to reset cursor to configured default 2026-04-26 17:50:16 -05:00
tools Cleanup previous PR 2026-11-18 15:04:55 +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 07:35:30 +05:30
.editorconfig
.gitattributes Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +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 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-08-07 09:26:06 +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 Add a Metal GPU driver and an MSL shader target 2026-11-19 07:35:31 +05:30
shell.nix ... 2026-08-09 22:12:20 +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"]