feat: add dropdown_next_widget_style command

This commit is contained in:
CJ van den Berg 2025-12-18 22:13:06 +01:00
parent 3a61bb2ae9
commit b92d5a2acb
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 8 additions and 0 deletions

View file

@ -378,6 +378,7 @@
"overlay/dropdown": {
"inherit": "normal",
"press": [
["alt+f9", "dropdown_next_widget_style"],
["ctrl+p", "palette_menu_up"],
["ctrl+n", "palette_menu_down"],
["escape", "palette_menu_cancel"],

View file

@ -1580,6 +1580,13 @@ const cmds = struct {
try save_config();
}
pub const hint_window_next_widget_style_meta: Meta = .{};
pub fn dropdown_next_widget_style(_: *Self, _: Ctx) Result {
set_next_style(.dropdown);
need_render();
try save_config();
}
pub const dropdown_next_widget_style_meta: Meta = .{};
};
pub const MiniMode = struct {