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
copilot-swe-agent[bot] 4bcfafa945
Improve draw_single_line_of_text to support max_width and return (pixels, width) tuple
- Add freetype_text_width_for_single_line() in freetype_render_ui_text.c
- Add cocoa_text_width_for_single_line() in core_text.m
- Add text_width_for_single_line() wrapper in glfw.c for both platforms
- Modify draw_single_line_of_text() to accept optional max_width parameter
- Return (pixels, width) tuple instead of just pixels
- Update all Python call sites in tabs.py and window.py

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/508483db-ffcd-4d43-a8ee-83fcd3ec9c01

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-06 05:25:38 +00:00
.github Add font installation instructions for copilot 2026-03-29 10:01:59 +05:30
3rdparty
bypy Bump deps for CVEs 2026-03-28 14:03:32 +05:30
docs Allow optionally dragging URLs with the mouse 2026-04-06 10:40:11 +05:30
gen More work on the DnD protocol 2026-04-02 12:03:49 +05:30
glad More robust detection of support for GL_FRAMEBUFFER_SRGB 2025-08-11 09:13:49 +05:30
glfw Fix multiple security vulnerabilities across C, Python, and Go code 2026-04-03 16:10:46 +01:00
kittens feat: add per-mapping --allow-fallback for layout-independent shortcuts 2026-03-25 19:34:13 +03:00
kitty Improve draw_single_line_of_text to support max_width and return (pixels, width) tuple 2026-04-06 05:25:38 +00:00
kitty_tests Fix unclosed resource warning in test 2026-04-01 20:01:28 +05:30
logo
shell-integration Add command_palette command to display bound keys 2026-02-22 20:46:47 -08:00
terminfo Remove empty key definitions from terminfo 2026-01-26 11:50:08 +05:30
tools Cleanup previous PR 2026-04-03 22:25:05 +05:30
.editorconfig
.gitattributes Move parsing of colors fully into C 2025-12-31 14:21:45 +05:30
.gitignore Add XI2 smooth scrolling support for X11 backend 2026-01-09 17:13:24 +05:30
__main__.py
benchmark.py Make mypy 1.16 happy 2025-05-30 10:06:38 +05:30
Brewfile
build-terminfo
CHANGELOG.rst
CONTRIBUTING.md
count-lines-of-code Update the list of nerd font names when updating other unicode data as well 2025-05-21 13:19:27 +05:30
dev.sh
embeds.go Code to serialize/unserialize loaded images 2025-10-07 17:25:47 +05:30
go.mod Bump github.com/shirou/gopsutil/v4 in the all-go-deps group 2026-04-06 03:43:13 +00:00
go.sum Bump github.com/shirou/gopsutil/v4 in the all-go-deps group 2026-04-06 03:43:13 +00:00
INSTALL.md
key_encoding.json
LICENSE
Makefile
publish.py Fix pkill invocation 2026-02-24 07:47:22 +05:30
pyproject.toml Add license metadata to pyproject.toml 2026-03-30 13:42:18 +05:30
README.asciidoc Update some docs 2025-10-07 20:20:19 +05:30
rsync-and-build.sh
SECURITY.md ... 2025-09-14 21:31:43 +05:30
session.vim
setup.py ... 2026-04-05 18:25:05 +05:30
shell.nix Update shell.nix 2026-03-23 17:26:53 -04:00
staticcheck.conf
test.py
update-on-ox

= 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"]