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
Sami Farin 448aeefe5d
safe-wrappers.h fixes
- safe_mkstemp: fix template corruption and atomicity
    mkstemp mutates the template in place, causing subsequent retries on
    EINTR to fail with EINVAL. Save the template before invocation and use
    atomic mkostemp(..., O_CLOEXEC) on supported platforms.

- safe_connect and safe_accept: fix socket connection state machine
    - safe_connect: Retrying connect() on EINTR violates stream socket semantics
      (yields EISCONN/EALREADY). Poll for POLLOUT and query SO_ERROR instead.
    - safe_accept: Remove EAGAIN busy-wait loop to avoid 100% CPU spin on
      non-blocking sockets or when timeouts expire.

- safe_write: prevent stream corruption
    Comparing ret != 0 caused successful writes (> 0) to repeat whenever
    stale EINTR remained in errno, duplicating payload data across PTY and
    socket streams. Change check to ret < 0.

- safe_close: eliminate descriptor reuse race
    POSIX-compliant modern kernels (Linux, macOS, BSDs) detach and release
    file descriptors before handling signal interruptions. Looping close() on
    EINTR risks closing an unrelated file descriptor allocated concurrently
    by another thread.
2026-10-06 15:16:09 +05:30
.github Bump github/codeql-action from 4.38.1 to 4.38.2 in the actions group 2026-10-05 03:44:57 +00:00
3rdparty autoformat 2026-08-05 05:32:56 +05:30
bypy Bumpversion of openssl for CVEs 2026-10-06 13:37:28 +05:30
docs Use binary XDG shared MIME database for mimetype lookups 2026-10-06 08:27:55 +05:30
gen Cleanup previous PR and make VS15 on explicit width cell behavior consistent with VS16 2026-09-18 22:59:19 +05:30
glad autoformat 2026-08-05 05:32:56 +05:30
glfw Fix momentum scroll scale not being set for negative deltas 2026-10-05 20:42:16 +05:30
kittens Use binary XDG shared MIME database for mimetype lookups 2026-10-06 08:27:55 +05:30
kitty safe-wrappers.h fixes 2026-10-06 15:16:09 +05:30
kitty_tests Retain Go diagnostics when the test process fails 2026-10-06 14:31:17 +05:00
logo autoformat 2026-08-05 05:32:56 +05:30
shell-integration Also use diskutil in a couple more scripts 2026-09-24 09:32:05 +05:30
terminfo
tools handle invalid UTF-8 in binary mime db 2026-10-06 08:58:50 +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 Try newer clang-format installed via pip 2026-08-05 20:15:07 +05:30
.editorconfig
.gitattributes
.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 Prevent clang-format from zeroing files 2026-08-11 16:57:43 +05:30
benchmark.py Fix typo 2026-10-03 06:06:50 +00:00
Brewfile
build-terminfo
CHANGELOG.rst
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 2 updates 2026-10-05 03:43:02 +00:00
go.sum Bump the all-go-deps group with 2 updates 2026-10-05 03:43:02 +00:00
INSTALL.md
key_encoding.json
LICENSE
local-agent.md ... 2026-08-07 09:26:06 +05:30
Makefile
publish.py autoformat 2026-08-05 05:32:56 +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 pipeline files not being added when building package 2026-09-23 10:38:09 +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"]