n-WN 708372f249 tests: regression for apply_selection with paused-rendering + scrollback
Add a regression test that exercises the code path which crashed in
v0.46.2 (#10017): when paused_rendering is active and a selection
extends into the scrollback, the inner loop of apply_selection iterates
with a negative y. Without the recently-added paused_y translation and
the paused_y < 0 guard, the call to linebuf_init_line treats the
negative y as a huge unsigned index_type and reads ~4GB out of bounds
in line_attrs[idx], crashing with SIGBUS.

The test reproduces the trigger deterministically via the Screen Python
bindings and asserts that current_selections() returns the expected
buffer instead of crashing.
2026-05-16 17:00:01 +08:00
2026-05-13 15:03:17 +05:30
...
2024-07-14 12:34:24 +05:30
2026-05-16 13:31:32 +05:30
2026-05-06 08:48:26 +05:30
2026-05-16 13:24:45 +05:30
2026-05-15 11:56:02 +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
2021-09-28 14:23:49 +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-03-23 17:26:53 -04:00
2022-11-14 15:42:01 +05:30
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"]
Languages
Python 38.6%
C 28%
Go 26.3%
Objective-C 5.5%
Shell 1%
Other 0.5%