kitty/kitty
mcrmck d1b8df6975 Fix mypy error: remove narrowing ClassVar[Literal] annotations from layout subclasses
Horizontal extends Vertical, and Fat extends Tall. Declaring
drag_overlay_mode with a narrower Literal type in the subclass
conflicts with the parent's declared type, causing mypy error
"Incompatible types in assignment". Since the base Layout class already
declares the full union type, subclasses only need a bare assignment.

Also removes now-unused ClassVar and Literal imports from vertical.py,
tall.py, and grid.py.
2026-03-27 02:17:59 -04:00
..
conf Fix #9684 2026-03-17 08:32:38 +05:30
fonts Dont import ctypes unless type checking 2026-03-12 09:58:49 +05:30
launcher Make compiler happy 2026-02-13 08:39:20 +05:30
layout Fix mypy error: remove narrowing ClassVar[Literal] annotations from layout subclasses 2026-03-27 02:17:59 -04:00
options Wire tab_bar_show_new_tab_button option into types.py and parse.py 2026-03-22 17:16:22 -04:00
rc fix: Revert changes to page scrolling 2026-01-24 01:01:14 +08:00
__init__.py
actions.py Cleanup previous PR 2026-03-03 13:04:26 +05:30
alpha_blend.glsl
animation.c Fix #8692 2025-05-29 08:17:45 +05:30
animation.h
arches.h
arena.h Always zero memory from arena 2025-02-03 10:56:47 +05:30
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 border rect orientation explicitly 2026-03-02 21:34:48 +05:30
boss.py Add directional drag-and-drop inserts for Vertical, Horizontal, Tall, Fat, Grid 2026-03-27 02:08:41 -04:00
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 Add drag-and-drop quadrant preview overlay 2026-03-18 00:30:37 -04:00
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 Clear macOS dock badge on keypress and mouse click 2026-03-11 21:41:06 +01:00
cocoa_window.m Clear macOS dock badge on keypress and mouse click 2026-03-11 21:41:06 +01:00
color-names.h Move parsing of colors fully into C 2025-12-31 14:21:45 +05:30
colors.c Cleanup previous PR 2026-03-16 17:38:14 +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.46.1 2026-03-16 13:20:03 +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 Fix debug_config showing sequence shortcuts grouped on a single line 2026-03-04 20:25:27 +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 Add drag-and-drop quadrant preview overlay 2026-03-18 00:30:37 -04:00
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 ... 2026-03-02 12:07:59 +05:30
fonts.h Implement horizontal alignment for font based rendering 2025-02-19 09:04:22 +05:30
freetype.c ... 2026-03-02 20:22:36 +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 Merge upstream/master into feat-draggable-window-title-bars 2026-03-17 22:40:28 -04:00
glyph-cache.c Always zero memory from arena 2025-02-03 10:56:47 +05:30
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 Use XXHash for hash table hashing of arbitrary sized keys 2025-02-03 10:56:46 +05:30
launch.py Implement on_quit event for global watchers 2026-03-17 08:37:30 +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 Merge upstream/master into feat-draggable-window-title-bars 2026-03-17 22:40:28 -04:00
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 Add drag-and-drop quadrant preview overlay 2026-03-18 00:30:37 -04:00
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 Fix drag overlay: separate title bar highlight from body hover overlay 2026-03-20 01:23:23 -04:00
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 Add drag-and-drop quadrant preview overlay 2026-03-18 00:30:37 -04:00
state.h Add draggable window title bars 2026-03-08 20:56:38 -04:00
systemd.c
tab_bar.py Fix synthetic '+' tab rendering and make it always-visible as a new-tab button 2026-03-22 13:06:30 -04:00
tabs.py Add directional drag-and-drop inserts for Vertical, Horizontal, Tall, Fat, Grid 2026-03-27 02:08:41 -04:00
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 Always zero memory from arena 2025-02-03 10:56:47 +05:30
text-cache.h Use an arena for TextCache as well 2025-02-03 10:56:46 +05:30
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 Cleanup previous PR 2026-03-03 13:04:26 +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 DRYer 2026-03-05 07:14:32 +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 Merge upstream/master into feat-draggable-window-title-bars 2026-03-17 22:40:28 -04:00
window_list.py Add directional drag-and-drop inserts for Vertical, Horizontal, Tall, Fat, Grid 2026-03-27 02:08:41 -04:00
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
window_title_bar.py DRYer 2026-03-05 17:03:47 +05:30
xdg.py