Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ok i might be stupid
Browse files Browse the repository at this point in the history
SpaghettDev committed Dec 1, 2024
1 parent 0b468f9 commit 9aa11d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/macos.mm
Original file line number Diff line number Diff line change
@@ -101,16 +101,16 @@ void keyDownExec(EAGLView* self, SEL sel, NSEvent* event) {
) {
switch ([event keyCode])
{
case 'a': case 'A':
case kVK_ANSI_A:
return g_selectedInput->highlightFromToPos(0, -1);

case 'c': case 'C':
case kVK_ANSI_C:
return g_selectedInput->onCopy();

case 'v': case 'V':
case kVK_ANSI_V:
return g_selectedInput->onPaste();

case 'x': case 'X':
case kVK_ANSI_X:
return g_selectedInput->onCut();

case kVK_Delete:

0 comments on commit 9aa11d6

Please sign in to comment.