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
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
glfw Fix multiple security vulnerabilities across C, Python, and Go code 2026-04-03 16:10:46 +01:00
kittens
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
terminfo
tools Cleanup previous PR 2026-04-03 22:25:05 +05:30
.editorconfig
.gitattributes
.gitignore
__main__.py
benchmark.py
Brewfile
build-terminfo
CHANGELOG.rst
CONTRIBUTING.md
count-lines-of-code
dev.sh
embeds.go
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
pyproject.toml Add license metadata to pyproject.toml 2026-03-30 13:42:18 +05:30
README.asciidoc
rsync-and-build.sh
SECURITY.md
session.vim
setup.py ... 2026-04-05 18:25:05 +05:30
shell.nix
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"]