mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-02 09:58:09 +00:00
Merge remote-tracking branch 'upstream/main' into jacob/uucode
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user