kitty/kitty
Siriwat Uamganmsup d5e45cf8d3 Splits layout: Fix variable shadowing in layout_pair causing corrupted pane positions
The for loops iterating over edge_border() results in layout_pair() used
top, bottom, left, right as loop variable names, which shadowed the
function's local variables tracking current layout position. This caused
sibling panes to be positioned at incorrect offsets when splitting a pane
that was itself a nested Pair (e.g. splitting the left pane horizontally
would cause the right pane to shift down half the screen).

Rename loop variables to etop, ebottom, eleft, eright to avoid shadowing.
2026-03-02 13:53:59 +07:00
..
conf choose_files: start work on image previews 2025-10-07 11:11:42 +05:30
fonts rename typing module to avoid conflicts with stdlib typing 2025-04-28 09:20:10 +05:30
launcher Make compiler happy 2026-02-13 08:39:20 +05:30
layout Splits layout: Fix variable shadowing in layout_pair causing corrupted pane positions 2026-03-02 13:53:59 +07:00
options ... 2026-02-26 19:11:00 +05:30
rc fix: Revert changes to page scrolling 2026-01-24 01:01:14 +08:00
__init__.py
actions.py Add action to close a session 2025-08-23 09:17:27 +05:30
alpha_blend.glsl
animation.c Fix #8692 2025-05-29 08:17:45 +05:30
animation.h
arches.h
arena.h
backtrace.h
banned.h
base64.h
bash.py
bgimage_fragment.glsl Rewrite rendering pipeline 2025-08-11 00:47:02 +05:30
bgimage_vertex.glsl Rewrite rendering pipeline 2025-08-11 00:47:02 +05:30
binary.h
blit_common.glsl Allow shader names with underscores 2025-08-13 07:10:16 +05:30
blit_fragment.glsl Rewrite rendering pipeline 2025-08-11 00:47:02 +05:30
blit_vertex.glsl Allow shader names with underscores 2025-08-13 07:10:16 +05:30
border_fragment.glsl Rewrite rendering pipeline 2025-08-11 00:47:02 +05:30
border_vertex.glsl Rewrite rendering pipeline 2025-08-11 00:47:02 +05:30
borders.py Track window ids on border rects 2026-03-02 08:31:36 +05:30
boss.py Work on drag resize for splits layout 2026-02-28 07:37:49 +05:30
cell_defines.glsl Implement displaying of extra cursor color 2025-08-26 21:27:13 +05:30
cell_fragment.glsl Write foreground output only at end of shader 2025-08-26 18:56:31 +05:30
cell_vertex.glsl Fix #9558 2026-02-26 09:11:28 +05:30
char-props-data.h Add support for Unicode 17 2025-10-18 09:59:53 +05:30
char-props.c Use a two stage lookup table for segmentation 2025-04-01 14:25:24 +05:30
char-props.h Make GraphemeBreakProperty available globally 2025-04-11 09:34:21 +05:30
charsets.c
charsets.h
child-monitor.c Start work on drag and drop for tabs 2026-02-19 12:37:31 +05:30
child.c Only chdir to / if the cwd is not executable or does not exist. Fixes #8636 2025-05-14 08:58:57 +05:30
child.py Avoid producing a nonexistent cwd/exe from e.g. defunct processes 2026-01-30 21:15:29 +00:00
choose_entry.py rename typing module to avoid conflicts with stdlib typing 2025-04-28 09:20:10 +05:30
cleanup.c Run at exit cleanup functions explicitly instead of relying on the ever unreliable python interpreter to do it 2025-02-10 15:06:18 +05:30
cleanup.h Start work on multicell support for selection_as_text 2025-02-03 10:56:49 +05:30
cli.py Cache parsing of command line specifications 2025-09-29 12:31:10 +05:30
cli_stub.py goto_session: Add --sort-by=alphabetical 2025-09-29 13:03:23 +05:30
client.py Parser for multi cursor escape code 2025-08-24 20:14:14 +05:30
clipboard.py Send an OTP for paste events 2025-11-08 08:48:34 +05:30
cocoa_window.h Cleanup previous PR 2026-02-21 21:30:24 +05:30
cocoa_window.m Cleanup previous PR 2026-02-21 21:30:24 +05:30
color-names.h Move parsing of colors fully into C 2025-12-31 14:21:45 +05:30
colors.c Move parsing of colors fully into C 2025-12-31 14:21:45 +05:30
colors.h
colors.py Automatic color scheme switching: Fix title bar and scroll bar colors not being updated 2025-11-08 01:09:57 +05:30
config.py Add timeout option to key mappings 2026-02-24 16:02:07 +05:30
constants.py version 0.45.0 2025-12-24 09:24:17 +05:30
control-codes.h
core_text.m macOS: Also change the font used to be the system ui default font rather than window title font 2025-08-17 20:45:10 +05:30
cross-platform-random.h
crypto.c
cursor.c Implement round tripping of SGR blink (5/25) 2025-08-25 12:34:38 +05:30
cursor_trail.c Fix cursor_trail rendering at incorrect co-ords 2025-08-11 14:53:23 +05:30
data-types.c Free C locale on exit 2025-12-30 22:11:05 +05:30
data-types.h Do drag resize by dragging window borders 2026-02-26 17:36:41 +05:30
debug_config.py Nicer formatting for exe_search_path in debug output 2025-12-07 13:39:38 +05:30
decorations.c fix inner_corner 2025-11-02 16:46:08 +09:00
decorations.h Scale multicell box char line thickness 2025-02-03 10:56:48 +05:30
desktop.c
disk-cache.c Remove unused code 2025-11-17 17:23:40 +05:30
disk-cache.h Avoid using lseek() to track disk cache file write offset 2025-11-17 11:16:30 +05:30
entry_points.py Add save_as_session action 2025-08-16 06:32:42 +05:30
fast-file-copy.c
fast-file-copy.h
fast_data_types.pyi Wrap request attention API and expose to python 2026-03-01 11:33:03 +05:30
file_transmission.py Make mypy 1.16 happy 2025-05-30 10:06:38 +05:30
fixed_size_deque.h Initial implementation of momentum for finger based scrolling on Wayland 2026-01-05 19:52:44 +05:30
font-names.c DRYer 2025-07-10 08:24:01 +05:30
fontconfig.c Fixed typos 2025-05-18 19:52:12 +05:30
fonts.c Forgot to comment out debug print 2026-02-25 16:00:02 +05:30
fonts.h Implement horizontal alignment for font based rendering 2025-02-19 09:04:22 +05:30
freetype.c Be a little more defensive 2026-02-27 08:26:33 +05:30
freetype_render_ui_text.c Linux: Dont draw visual select lines and hyperlink hover popups in bold weight 2025-08-17 20:39:33 +05:30
freetype_render_ui_text.h
gl-wrapper.c
gl-wrapper.h More robust detection of support for GL_FRAMEBUFFER_SRGB 2025-08-11 09:13:49 +05:30
gl.c Simplify API 2025-12-10 08:55:06 +05:30
gl.h Simplify API 2025-12-10 08:55:06 +05:30
glfw-wrapper.c Merge branch 'titlebar-only-wayland' of https://github.com/antoinecellerier/kitty 2026-02-23 19:19:30 +05:30
glfw-wrapper.h Merge branch 'titlebar-only-wayland' of https://github.com/antoinecellerier/kitty 2026-02-23 19:19:30 +05:30
glfw.c Wrap request attention API and expose to python 2026-03-01 11:33:03 +05:30
glyph-cache.c
glyph-cache.h
graphics.c Add configurable pixel scrolling 2025-12-26 19:33:21 +01:00
graphics.h Add configurable pixel scrolling 2025-12-26 19:33:21 +01:00
graphics_fragment.glsl Rewrite rendering pipeline 2025-08-11 00:47:02 +05:30
graphics_vertex.glsl Allow shader names with underscores 2025-08-13 07:10:16 +05:30
guess_mime_type.py Implement previews for plain text files 2025-07-20 19:24:17 +05:30
history.c Function to erase the last command and its output 2025-08-07 08:45:45 +05:30
history.h Function to erase the last command and its output 2025-08-07 08:45:45 +05:30
hsluv.glsl fix: prevent nan/inf in hsluv conversion 2025-03-13 15:01:43 +01:00
hyperlink.c
hyperlink.h
iqsort.h
key_encoding.c
key_encoding.py Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
key_names.py Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
keys.c Fix partial single line scroll not being reset on key events 2026-02-15 14:58:17 +05:30
keys.h
keys.py Cleanup previous PR 2026-02-25 19:40:38 +05:30
kittens.c
kitty-verstable.h
launch.py Clarify help text a little 2026-02-16 09:56:05 +05:30
line-buf.c Track line continuation in only one place 2025-02-08 08:58:50 +05:30
line-buf.h
line.c Only reset hyperlink if starting a new line 2026-01-23 10:20:16 +05:30
line.h Implement round tripping of SGR blink (5/25) 2025-08-25 12:34:38 +05:30
linear2srgb.glsl Directly operate on vec3 for linear2srgb 2025-08-26 19:14:06 +05:30
lineops.h Micro-optimization 2025-03-12 16:49:12 +05:30
logging.c Use SIMD to replace C0 control codes in Go code 2025-07-21 08:54:22 +05:30
loop-utils.c
loop-utils.h
macos_process_info.c fix abspath of pid function on macOS 2025-08-19 09:50:37 +05:30
main.py Add a default mapping for searching the scrollback 2025-12-01 08:10:07 +05:30
marks.py Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
modes.h Add support for the paste events protocol 2025-11-04 15:02:19 +05:30
monotonic.c
monotonic.h
mouse.c Track window ids on border rects 2026-03-02 08:31:36 +05:30
multiprocessing.py Make mypy + python 3.14 happy 2026-01-14 22:04:34 +05:30
notifications.py Fix messages in notifications 2025-06-07 07:57:51 -07:00
open_actions.py rename typing module to avoid conflicts with stdlib typing 2025-04-28 09:20:10 +05:30
os_window_size.py rename typing module to avoid conflicts with stdlib typing 2025-04-28 09:20:10 +05:30
parse-graphics-command.h
parse-multicell-command.h Start work on horizontal align for multicells 2025-02-19 07:50:40 +05:30
png-reader.c Start work on drag and drop for tabs 2026-02-19 12:37:31 +05:30
png-reader.h Start work on drag and drop for tabs 2026-02-19 12:37:31 +05:30
print-graphics.h Fix display of glyph data 2026-02-25 12:34:19 +05:30
progress.py
remote_control.py ... 2025-07-29 19:06:26 +05:30
render_cache.py
resize.c Dont rewrap text in the alternate screen buffer 2025-11-26 10:29:12 +05:30
resize.h Dont rewrap text in the alternate screen buffer 2025-11-26 10:29:12 +05:30
rgb.py Move parsing of colors fully into C 2025-12-31 14:21:45 +05:30
rounded_rect_fragment.glsl Improve rendering of hyperlink hover popups 2025-08-14 08:30:28 +05:30
rounded_rect_vertex.glsl Improve rendering of hyperlink hover popups 2025-08-14 08:30:28 +05:30
rowcolumn-diacritics.c Add support for Unicode 17 2025-10-18 09:59:53 +05:30
safe-wrappers.h
screen.c Fix #9549 2026-02-23 19:04:55 +05:30
screen.h Use an unsigned int rather than a double to store pixel scroll offset 2026-02-15 19:09:15 +05:30
screenshot_fragment.glsl Get tab re-ordering on drag in same window to work 2026-02-20 12:22:56 +05:30
screenshot_vertex.glsl Fix screenshot generation to handle colors correctly 2026-02-19 12:58:13 +05:30
search_query_parser.py Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
session.py feat(sessions): add active-only to goto_session 2026-02-14 16:23:27 +01:00
shaders.c Cleanup previous PR 2026-02-23 07:44:58 +05:30
shaders.py Fix screenshot generation to handle colors correctly 2026-02-19 12:58:13 +05:30
shell_integration.py When saving session add option to save the foreground process running in the shell so that it is also restarted 2025-08-16 16:50:45 +05:30
shlex.c Make shlex code re-useable in launcher 2025-04-25 09:35:42 +05:30
shm.py Make mypy happy 2025-09-13 07:21:31 +05:30
short_uuid.py Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
simd-string-128.c
simd-string-256.c
simd-string-impl.h Combine ascii_mask/counts check with errors vector in simd-string-impl.h 2025-10-23 22:37:33 -06:00
simd-string.c
simd-string.h
simple_cli_definitions.py Allow simple_cli_definitions to be run on ASAN builds 2025-12-04 14:58:56 +05:30
srgb_gamma.h Fix: Increase sRGB LUT precision to 8 decimal places for more accurate color rendering 2026-02-17 02:22:20 +05:30
state.c Track window ids on border rects 2026-03-02 08:31:36 +05:30
state.h Track window ids on border rects 2026-03-02 08:31:36 +05:30
systemd.c
tab_bar.py Refactor state tracking for tab drag 2026-02-21 13:31:04 +05:30
tabs.py DRYer 2026-03-01 10:42:07 +05:30
terminfo.h Remove empty key definitions from terminfo 2026-01-26 11:50:08 +05:30
terminfo.py Remove empty key definitions from terminfo 2026-01-26 11:50:08 +05:30
text-cache.c
text-cache.h
threading.h
tint_fragment.glsl Rewrite rendering pipeline 2025-08-11 00:47:02 +05:30
tint_vertex.glsl
trail_fragment.glsl Fix a regression in the previous release that caused the cursor trail to not be hidden properly 2025-09-29 20:35:12 +05:30
trail_vertex.glsl
types.py Work on drag resize for splits layout 2026-02-28 07:37:49 +05:30
typing_compat.py Fix #8915 2025-08-19 06:31:36 +05:30
typing_compat.pyi Implement set_layout_state for a few remaining layouts 2025-08-04 16:02:19 +05:30
unicode-data.h URL detection: Allow trailing asterisks in URLs 2026-02-23 07:54:47 +05:30
update_check.py Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
utils.glsl Implement displaying of extra cursor color 2025-08-26 21:27:13 +05:30
utils.py Fix #9083 2025-10-08 10:02:51 +05:30
utmp.c
vt-parser.c Add support for xterms report OS window size escape code 2025-11-24 11:12:27 +05:30
vt-parser.h
wcswidth.c Port wcswidth to use grapheme segmentation 2025-04-11 09:34:21 +05:30
wcswidth.h Port wcswidth to use grapheme segmentation 2025-04-11 09:34:21 +05:30
window.py Track window ids on border rects 2026-03-02 08:31:36 +05:30
window_list.py Track window ids on border rects 2026-03-02 08:31:36 +05:30
window_logo.c Add function to get window as launch command for serialization 2025-08-11 21:20:55 +05:30
window_logo.h Add function to get window as launch command for serialization 2025-08-11 21:20:55 +05:30
xdg.py