copilot-swe-agent[bot] 398fb8d156 Move text width calculation into draw_window_title to avoid double CSI stripping
Refactored so text_width_for_single_line is called inside draw_window_title
after CSI stripping, avoiding stripping the same text twice. The standalone
text_width_for_single_line wrapper is removed; draw_window_title now accepts
a size_t *actual_width output parameter that, when non-NULL, triggers text
width calculation and width reduction.

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/a70cccb9-332a-4f7b-81f8-8cbeb7ed2c26

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-06 05:43:04 +00:00
...
2024-07-14 12:34:24 +05:30
2026-03-28 14:03:32 +05:30
2026-04-02 12:03:49 +05:30
2026-04-03 22:25:05 +05:30
2023-11-11 08:32:05 +05:30
2025-05-30 10:06:38 +05:30
2023-06-14 03:39:53 +06:00
2023-07-29 14:16:25 +05:30
2021-09-23 20:31:13 +05:30
2023-07-29 14:16:25 +05:30
2026-02-24 07:47:22 +05:30
2025-10-07 20:20:19 +05:30
...
2025-09-14 21:31:43 +05:30
2024-03-28 19:36:07 +05:30
...
2026-04-05 18:25:05 +05:30
2026-03-23 17:26:53 -04:00
2022-11-14 15:41:53 +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"]
Description
No description provided
Readme GPL-3.0 157 MiB
Languages
Python 38.5%
C 28%
Go 26.4%
Objective-C 5.5%
Shell 1%
Other 0.5%