6c37c1c391d46ce17cc42df6a55583042f1c8fdf
Bare literal assignments (drag_overlay_mode = 'axis_y') cause mypy to narrow-infer the type as Literal['axis_y'] on the parent class, making the subclass override (Horizontal = 'axis_x', Fat = 'axis_x') an incompatible assignment. Fix by explicitly annotating Vertical and Tall with the full union type from the base class, so the declared type stays wide and subclasses can freely assign any valid mode. Also removes unused ClassVar/Literal imports from splits.py.
= 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
Languages
Python
38.4%
C
28%
Go
26.2%
Objective-C
5.7%
Shell
1.1%
Other
0.6%