mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
aa9855516f6a879f4de2bd34f9a3e00151e081ab
Now it is allocated on demand. This prevents it from blowing up to READ_BUF_SZ * 2 (2MB) if a small pending update is followed by a large non pending section in the read buffer, which is commonly triggered for instance by the transfer kitten which uses pending updates for its screen drawing mixed with non-pending data transmission. This is a slight performance penalty since there is a branch when writing every char to the pending buffer, but the branch will be almost always one sided so should be well predicted. In any case, filling the pending buffer is not a performance bottleneck, compared to actually dispatching parsed escape codes.
…
…
…
= kitty - the fast, feature-rich, cross-platform, GPU based terminal 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.svg[https://repology.org/project/kitty/versions]
Languages
Python
38.5%
C
28%
Go
26.4%
Objective-C
5.5%
Shell
1%
Other
0.5%