refactor: add panel_next_widget_style command

This commit is contained in:
CJ van den Berg 2025-12-11 18:46:08 +01:00
parent b08b162a10
commit dc3b4f8c16
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 9 additions and 0 deletions

View file

@ -1552,6 +1552,13 @@ const cmds = struct {
}
pub const shrink_centered_view_meta: Meta = .{ .description = "Shrink centered view" };
pub fn panel_next_widget_style(_: *Self, _: Ctx) Result {
set_next_style(.panel);
need_render();
try save_config();
}
pub const panel_next_widget_style_meta: Meta = .{};
pub fn hint_window_next_widget_style(_: *Self, _: Ctx) Result {
set_next_style(.hint_window);
need_render();