Skip to content

Commit

Permalink
close keyer window on cursor down
Browse files Browse the repository at this point in the history
  • Loading branch information
zcsahok committed May 5, 2024
1 parent 35b6642 commit 94c0308
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/keyer.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ void keyer(void) {
}
}

// Cursor down: close keyer window (same as Ctrl-K)
if (x == KEY_DOWN) {
x = CTRL_K;
}

// <Escape>, Ctrl-K (^K), Alt-k (M-k), ` (Grave Accent)
if (x == ESCAPE || x == CTRL_K || x == ALT_K || x == '`') {
if (cwkeyer == MFJ1278_KEYER || digikeyer == MFJ1278_KEYER) {
Expand Down

0 comments on commit 94c0308

Please sign in to comment.