feat: add widget style switching command to open_recent palette

This commit is contained in:
CJ van den Berg 2025-08-13 22:53:26 +02:00
parent e95b232184
commit a27c212461
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -370,6 +370,13 @@ const cmds = struct {
} }
pub const overlay_toggle_inputview_meta: Meta = .{}; pub const overlay_toggle_inputview_meta: Meta = .{};
pub fn overlay_next_widget_style(self: *Self, _: Ctx) Result {
Widget.Style.set_next_style(widget_style_type);
self.do_resize();
tui.need_render();
}
pub const overlay_next_widget_style_meta: Meta = .{};
pub fn mini_mode_paste(self: *Self, ctx: Ctx) Result { pub fn mini_mode_paste(self: *Self, ctx: Ctx) Result {
return overlay_insert_bytes(self, ctx); return overlay_insert_bytes(self, ctx);
} }