feat: add scroll_keybind_hints command

This commit is contained in:
CJ van den Berg 2025-12-01 22:13:02 +01:00
parent a296471161
commit 3012fdcd90
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 20 additions and 1 deletions

View file

@ -1057,6 +1057,11 @@ const cmds = struct {
}
pub const toggle_keybind_hints_meta: Meta = .{ .description = "Toggle keybind hints" };
pub fn scroll_keybind_hints(_: *Self, _: Ctx) Result {
@import("keyhints.zig").scroll();
}
pub const scroll_keybind_hints_meta: Meta = .{ .description = "Scroll keybind hints" };
pub fn force_color_scheme(self: *Self, ctx: Ctx) Result {
self.force_color_scheme(if (try ctx.args.match(.{"dark"}))
.dark