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 b9ade2dd42
Speed up parsing of CSI codes and erasing of lines
- Check for multicell chars in the erased range before looking for them
  cell by cell, with a branch free check that reads only the word of each
  cell containing the multicell flag. The common case is a line with no
  multicell chars.

- Add a fast path that parses CSI codes of the common form, an optional
  private marker, numeric params separated by ; or : and the final byte,
  in a single pass, falling back to the generic CSI parser for anything
  else.

- Do not call the UTF-8 decoder for no text when an escape code directly
  follows another one, and start parsing CSI codes right after ESC [
  rather than in the next iteration of the parse loop.

This speeds up the CSI benchmark by 25% to 30% and the truecolor
benchmarks by ~10%.

A differential test compares the fast path and the generic CSI parser on
random input, and a new test covers erasing parts of multicell chars,
which no existing test did.
2026-11-19 19:57:35 +05:30
.github Ignore CVEs in unreleased versions of dependencies 2026-11-19 09:22:09 +05:30
3rdparty autoformat 2026-08-05 05:32:56 +05:30
bypy Fix freeze build failure 2026-11-19 19:57:34 +05:30
docs Remove input_delay and parse output as soon as it is received 2026-11-19 19:57:35 +05:30
gen Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 19:57:32 +05:30
glad Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 19:57:32 +05:30
glfw macOS: Require macOS 14 and drop code for older versions 2026-11-19 19:57:34 +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 Speed up parsing of CSI codes and erasing of lines 2026-11-19 19:57:35 +05:30
kitty_tests Speed up parsing of CSI codes and erasing of lines 2026-11-19 19:57:35 +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 benchmark kitten: Add benchmarks for text with many distinct colors 2026-11-19 19:57:35 +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 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 Update some docs 2025-10-07 20:20:19 +05:30
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-19 19:57:34 +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"]