kitty/kitty
rudolf-blue 18bddffcca Raise the maximum font size and fix the legacy zoom limit
The ceiling in change_font_size is ten times the configured font_size, so
the largest size you can reach depends on the size you configured. With
font_size 6 zooming stops at 60pt, while font_size 20 reaches 200pt. That
is backwards: a small configured font is if anything a reason to want a
larger temporary zoom, not a smaller one.

Use the larger of that multiple and an absolute 256pt. No existing setup
loses range, since the multiple still wins whenever it is the bigger of
the two. The bounds and the clamp move into options/utils.py so the
numbers are in one place and can be tested directly.

increase_font_size also had its own cap of five times font_size. That was
the old limit, missed when 25d8d9fe6 raised change_font_size to ten, and
because the wrapper clamps before delegating, the stale bound is the one
that wins. Both legacy wrappers can simply drop their bounds: they go
through change_font_size, which already clamps.
2026-09-07 19:41:08 -04:00
..
conf Run autoformat after gen/config 2026-09-06 07:09:40 +05:30
fonts autoformat 2026-08-05 05:32:56 +05:30
launcher autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
layout misc layout code robustness fixes 2026-08-05 21:04:30 +05:30
options Raise the maximum font size and fix the legacy zoom limit 2026-09-07 19:41:08 -04:00
rc ... 2026-08-13 09:01:38 +05:30
shaders Proper fix for custom shader scaling on OS window grow + shrink 2026-09-06 14:58:18 +05:30
__init__.py
actions.py autoformat 2026-08-05 05:32:56 +05:30
animation-parse.h start work on animation framework for custom shaders 2026-08-06 13:22:24 +05:30
animation.c Dont calculate animation easing values multiple times for indentical easing curves 2026-08-06 21:37:46 +05:30
animation.h Dont calculate animation easing values multiple times for indentical easing curves 2026-08-06 21:37:46 +05:30
arches.h
arena.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
backtrace.h
banned.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
base64.h clipboard protocol: Specify handling of invalid base64 data 2026-08-25 10:12:25 +05:30
bash.py autoformat 2026-08-05 05:32:56 +05:30
binary.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
borders.py Fix rounded window borders leaving corner regions unpainted 2026-08-30 08:16:42 +05:30
boss.py Raise the maximum font size and fix the legacy zoom limit 2026-09-07 19:41:08 -04:00
char-props-data.h
char-props.c
char-props.h autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
charsets.c
charsets.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
child-monitor.c was_maximized should use pre full screen state as well 2026-09-06 14:50:21 +05:30
child.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
child.py tab_title_template: Add a field that evaluated to the total memory used by all child processes in the tab 2026-07-29 13:36:24 +05:30
choose_entry.py
cleanup.c
cleanup.h
cli.py autoformat 2026-08-05 05:32:56 +05:30
cli_stub.py autoformat 2026-08-05 05:32:56 +05:30
client.py autoformat 2026-08-05 05:32:56 +05:30
clipboard.py clipboard protocol: Specify handling of invalid base64 data 2026-08-25 10:12:25 +05:30
cocoa_window.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
cocoa_window.m autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
color-names.h
colors.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
colors.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
colors.py autoformat 2026-08-05 05:32:56 +05:30
config.py autoformat 2026-08-05 05:32:56 +05:30
constants.py Treat empty display server envvars as unset 2026-08-30 15:54:55 -04:00
control-codes.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
core_text.m autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
cross-platform-random.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
crypto.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
cursor.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
cursor_trail.c Add a couple more cursor trail custom shaders 2026-08-08 11:35:57 +05:30
data-types.c clipboard protocol: Specify handling of invalid base64 data 2026-08-25 10:12:25 +05:30
data-types.h autoformat 2026-08-11 19:41:41 +05:30
debug_config.py autoformat 2026-08-05 05:32:56 +05:30
decorations.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
decorations.h
desktop.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
disk-cache.c Avoid extra copy of image data into disk cache 2026-08-23 19:41:15 +05:30
disk-cache.h Avoid extra copy of image data into disk cache 2026-08-23 19:41:15 +05:30
dnd.c Make UBSan happy 2026-09-01 20:31:30 +05:30
dnd.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
entry_points.py autoformat 2026-08-05 05:32:56 +05:30
fast-file-copy.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
fast-file-copy.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
fast_data_types.pyi clipboard protocol: Specify handling of invalid base64 data 2026-08-25 10:12:25 +05:30
file_transmission.py file transfer protocol: harden against malicious clients planting symlinks 2026-09-01 22:23:24 +05:30
fixed_size_deque.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
font-names.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
fontconfig.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
fonts.c Speed up pixel compositing with SIMD vectorization 2026-08-29 09:53:38 +05:30
fonts.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
freetype.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
freetype_render_ui_text.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
freetype_render_ui_text.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
gl-wrapper.c
gl-wrapper.h
gl.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
gl.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
glfw-wrapper.c macOS: Fix pasting paths from dropped file promises 2026-09-02 09:35:55 +05:30
glfw-wrapper.h macOS: Fix pasting paths from dropped file promises 2026-09-02 09:35:55 +05:30
glfw.c macOS: Fix pasting paths from dropped file promises 2026-09-02 09:35:55 +05:30
glyph-cache.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
glyph-cache.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
graphics.c explicitly reject POSIX SHM names that dont start with / to match spec requirement 2026-08-30 08:25:57 +05:30
graphics.h Graphics: Make reading images robust against clients that truncate files that are being read by kitty 2026-08-23 17:05:06 +05:30
guess_mime_type.py autoformat 2026-08-05 05:32:56 +05:30
history.c Improve throughput for scrollback buffer by ~30% 2026-08-16 16:58:15 +05:30
history.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
hyperlink.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
hyperlink.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
iqsort.h autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
key_encoding.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
key_encoding.py autoformat 2026-08-05 05:32:56 +05:30
key_names.py autoformat 2026-08-05 05:32:56 +05:30
keys.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
keys.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
keys.py autoformat 2026-08-05 05:32:56 +05:30
kittens.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
kitty-verstable.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
launch.py autoformat 2026-08-05 05:32:56 +05:30
line-buf.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
line-buf.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
line.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
line.h autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
lineops.h autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
logging.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
loop-utils.c Fix #10436 2026-09-04 21:04:24 +05:30
loop-utils.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
machine_id.py autoformat 2026-08-05 05:32:56 +05:30
macos_process_info.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
main.py autoformat 2026-08-05 05:32:56 +05:30
marks.py autoformat 2026-08-05 05:32:56 +05:30
modes.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
monotonic.c
monotonic.h
mouse.c Fix #10393 2026-08-23 13:15:17 +05:30
multiprocessing.py autoformat 2026-08-05 05:32:56 +05:30
notifications.py autoformat 2026-08-05 05:32:56 +05:30
open_actions.py autoformat 2026-08-05 05:32:56 +05:30
os_window_size.py autoformat 2026-08-05 05:32:56 +05:30
parse-dnd-command.h Cleanup OSC/APC number parsing 2026-08-18 08:15:34 +05:30
parse-graphics-command.h Remove trailing whitespace from generated APC parsers 2026-08-18 08:30:12 +05:30
parse-multicell-command.h Remove trailing whitespace from generated APC parsers 2026-08-18 08:30:12 +05:30
png-reader.c Follow libpng's documented contract 2026-08-23 09:24:02 +05:30
png-reader.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
print-graphics.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
progress.py autoformat 2026-08-05 05:32:56 +05:30
remote_control.py autoformat 2026-08-05 05:32:56 +05:30
render_cache.py autoformat 2026-08-05 05:32:56 +05:30
resize.c When expanding a window in alternate screen mode use the most common background color as the color for the newly created lines leading to less visual flicker until the application can redraw itself 2026-08-16 07:46:29 +05:30
resize.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
rgb.py autoformat 2026-08-05 05:32:56 +05:30
rowcolumn-diacritics.c
safe-wrappers.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
screen.c Text sizing protocol: Fix a buffer overflow 2026-08-23 07:52:17 +05:30
screen.h Throughput improvements when processing large blocks of text 2026-08-16 17:47:56 +05:30
search_query_parser.py autoformat 2026-08-05 05:32:56 +05:30
session.py Parse goto_session options when discovering sessions 2026-08-28 16:21:17 +05:00
shaders.c autoformat 2026-08-30 08:28:03 +05:30
shell_integration.py autoformat 2026-08-05 05:32:56 +05:30
shlex.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
shm.py ssh kitten: Verify owner and permissions of SHM memory used for askpass 2026-09-01 20:14:03 +05:30
short_uuid.py autoformat 2026-08-05 05:32:56 +05:30
simd-string-128.c
simd-string-256.c
simd-string-512.c Speed up pixel compositing with SIMD vectorization 2026-08-29 09:53:38 +05:30
simd-string-impl.h Speed up pixel compositing with SIMD vectorization 2026-08-29 09:53:38 +05:30
simd-string.c Speed up pixel compositing with SIMD vectorization 2026-08-29 09:53:38 +05:30
simd-string.h Speed up pixel compositing with SIMD vectorization 2026-08-29 09:53:38 +05:30
simple_cli_definitions.py Complete session file completion 2026-08-12 19:15:52 +05:00
srgb_gamma.h
state.c Fix rounded window borders leaving corner regions unpainted 2026-08-30 08:16:42 +05:30
state.h Fix rounded window borders leaving corner regions unpainted 2026-08-30 08:16:42 +05:30
systemd.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
tab_bar.py Improve fade style for vertical tab bar 2026-08-02 21:54:56 +05:30
tabs.py misc layout code robustness fixes 2026-08-05 21:04:30 +05:30
terminfo.h
terminfo.py autoformat 2026-08-05 05:32:56 +05:30
text-cache.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
text-cache.h autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
threading.h
types.py autoformat 2026-08-05 05:32:56 +05:30
typing_compat.py
typing_compat.pyi autoformat 2026-08-05 05:32:56 +05:30
unicode-data.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
update_check.py autoformat 2026-08-05 05:32:56 +05:30
utils.py Restore hints named-group program arguments 2026-08-27 21:55:56 +05:00
utmp.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
vt-parser.c Fix #10434 2026-09-04 03:58:20 +05:30
vt-parser.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
wcswidth.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
wcswidth.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
window.py Color control protocol: Respond to unknown field names safely using base64 encoding 2026-09-01 21:20:04 +05:30
window_list.py misc layout code robustness fixes 2026-08-05 21:04:30 +05:30
window_logo.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
window_logo.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
window_title_bar.py autoformat 2026-08-05 05:32:56 +05:30
xdg.py autoformat 2026-08-05 05:32:56 +05:30