mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-26 10:41:58 +00:00
hook up all the keyboard actions
This commit is contained in:
@@ -131,6 +131,13 @@ pub const Action = union(enum) {
|
||||
copy_to_clipboard: void,
|
||||
paste_from_clipboard: void,
|
||||
|
||||
/// Increase/decrease the font size by a certain amount
|
||||
increase_font_size: u16,
|
||||
decrease_font_size: u16,
|
||||
|
||||
/// Reset the font size to the original configured size
|
||||
reset_font_size: void,
|
||||
|
||||
/// Dev mode
|
||||
toggle_dev_mode: void,
|
||||
|
||||
|
||||
@@ -49,8 +49,22 @@ pub const Key = enum {
|
||||
y,
|
||||
z,
|
||||
|
||||
// numbers
|
||||
zero,
|
||||
one,
|
||||
two,
|
||||
three,
|
||||
four,
|
||||
five,
|
||||
six,
|
||||
seven,
|
||||
eight,
|
||||
nine,
|
||||
|
||||
// other
|
||||
grave_accent, // `
|
||||
minus,
|
||||
equal,
|
||||
|
||||
// control
|
||||
up,
|
||||
|
||||
Reference in New Issue
Block a user