hook up keybindings for copy/paste and arrow keys

This commit is contained in:
Mitchell Hashimoto
2022-08-24 11:08:39 -07:00
parent e6f09093dd
commit 80376ce6da
4 changed files with 89 additions and 55 deletions

View File

@@ -49,6 +49,12 @@ pub const Key = enum {
y,
z,
// control
up,
down,
right,
left,
// To support more keys (there are obviously more!) add them here
// and ensure the mapping is up to date in the Window key handler.
};