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 24f7369bb6
Drop Unicode placeholder cell images scrolled off the bottom of the screen
A full screen reverse scroll (ESC M at the top, CSI T) moves every image
ref down a row. scroll_filter_func() only removed refs that left through
the top, so a cell image on the bottom line ended up at row `lines`, off
screen, while its line was discarded. The next forward scroll brought it
back onto the bottom row, where the line has no placeholders.
screen_render_line_graphics() returns early for such lines, so nothing
removed the ref and a slice of the old image was drawn over the new text.
tmux and pagers send ESC M when scrolling down, so this shows up in
practice. Fix it by dropping cell image refs that move below the bottom
margin, the same way the margins scroll path drops refs that leave the
region.

This replaces PR #10623, which was not merged for these reasons:

- It does not find the cause. It removes cell image refs at render time
  for every line without placeholders, so the stale ref still exists and
  is still seen by anything that reads refs before the next render, such
  as graphics query and delete commands and the paused rendering path,
  which returns before the new code.
- It costs time on every frame. Whenever any image is loaded, even with
  no placeholders at all, each clean visible line and each visible
  history line triggers a walk over all images and refs. Before, such
  lines cost nothing. This fix adds one comparison to a loop that only
  runs when the screen scrolls.

Close #10623
2026-10-07 20:19:23 +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 Drop Unicode placeholder cell images scrolled off the bottom of the screen 2026-10-07 20:19:23 +05:30
gen make ty 85 happy 2026-10-07 05:07:04 +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 Drop Unicode placeholder cell images scrolled off the bottom of the screen 2026-10-07 20:19:23 +05:30
kitty_tests Drop Unicode placeholder cell images scrolled off the bottom of the screen 2026-10-07 20:19:23 +05:30
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 Update Se terminfo entry to reset cursor to configured default 2026-04-26 17:50:16 -05:00
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 Load GLSL binding information at runtime rather than writing it to a generated C header 2026-08-05 05:32:55 +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 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 Increase notarization timeout 2026-10-07 04:32:42 +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"]