mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
Merge pull request #451 from Yinameah/add_plus_shortcut
Added plus `+` key : potential keybinding for zoom in / zoom out
This commit is contained in:
@ -221,6 +221,7 @@ typedef enum {
|
||||
GHOSTTY_KEY_PERIOD,
|
||||
GHOSTTY_KEY_SLASH,
|
||||
GHOSTTY_KEY_MINUS,
|
||||
GHOSTTY_KEY_PLUS,
|
||||
GHOSTTY_KEY_EQUAL,
|
||||
GHOSTTY_KEY_LEFT_BRACKET, // [
|
||||
GHOSTTY_KEY_RIGHT_BRACKET, // ]
|
||||
|
@ -281,6 +281,7 @@ pub const Key = enum(c_int) {
|
||||
period,
|
||||
slash,
|
||||
minus,
|
||||
plus,
|
||||
equal,
|
||||
left_bracket, // [
|
||||
right_bracket, // ]
|
||||
@ -612,6 +613,9 @@ pub const Key = enum(c_int) {
|
||||
.f23,
|
||||
.f24,
|
||||
.f25,
|
||||
|
||||
// These keys aren't represented in cimgui
|
||||
.plus,
|
||||
=> null,
|
||||
};
|
||||
}
|
||||
@ -692,6 +696,7 @@ pub const Key = enum(c_int) {
|
||||
.{ '.', .period },
|
||||
.{ '/', .slash },
|
||||
.{ '-', .minus },
|
||||
.{ '+', .plus },
|
||||
.{ '=', .equal },
|
||||
.{ '[', .left_bracket },
|
||||
.{ ']', .right_bracket },
|
||||
|
Reference in New Issue
Block a user