keybind: add set_font_size

Fixes #7795

This allows the font size to be set to an absolute value.
This commit is contained in:
Jeffrey C. Ollie
2025-07-06 00:21:01 -05:00
committed by Mitchell Hashimoto
parent 48394d0328
commit eb5694794c
4 changed files with 66 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
const std = @import("std");
const builtin = @import("builtin");
const assert = std.debug.assert;
const Allocator = std.mem.Allocator;
const Action = @import("Binding.zig").Action;
@@ -460,6 +461,7 @@ fn actionCommands(action: Action.Key) []const Command {
.esc,
.text,
.cursor_key,
.set_font_size,
.scroll_page_fractional,
.scroll_page_lines,
.adjust_selection,