Merge remote-tracking branch 'upstream/main' into jacob/uucode

This commit is contained in:
Jacob Sandlund
2025-08-17 18:41:21 -04:00
55 changed files with 3304 additions and 549 deletions

View File

@@ -524,6 +524,14 @@ pub const Action = union(enum) {
/// Has no effect on macOS.
show_gtk_inspector,
/// Show the on-screen keyboard if one is present.
///
/// Only implemented on Linux (GTK). On GNOME, the "Screen Keyboard"
/// accessibility feature must be turned on, which can be found under
/// Settings > Accessibility > Typing. Other platforms are as of now
/// untested.
show_on_screen_keyboard,
/// Open the configuration file in the default OS editor.
///
/// If your default OS editor isn't configured then this will fail.
@@ -1051,6 +1059,7 @@ pub const Action = union(enum) {
.toggle_window_float_on_top,
.toggle_secure_input,
.toggle_command_palette,
.show_on_screen_keyboard,
.reset_window_size,
.crash,
=> .surface,

View File

@@ -369,6 +369,12 @@ fn actionCommands(action: Action.Key) []const Command {
.description = "Show the GTK inspector.",
}},
.show_on_screen_keyboard => comptime &.{.{
.action = .show_on_screen_keyboard,
.title = "Show On-Screen Keyboard",
.description = "Show the on-screen keyboard if present.",
}},
.open_config => comptime &.{.{
.action = .open_config,
.title = "Open Config",