Skip to content

Commit

Permalink
applen: add F4 to exit (until I figure out how FreeBSD handles Shift-F).
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
  • Loading branch information
audetto committed Jun 8, 2024
1 parent 3393a30 commit e8cc042
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Keyboard shortcuts
* ``F2``: reset the machine
* ``Shift-F2``: ctrl reset
* ``F3``: pause
* ``Shift-F3``: exit
* ``Shift-F3``: exit (``F4`` as well to avoid key code issues)
* ``F5``: swap disks
* ``F11``, ``F12``: Load, Save Snapshot
* ``ALT-RIGHT``: wider hi res graphis
Expand Down
3 changes: 2 additions & 1 deletion source/frontends/ncurses/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ namespace
frame->TogglePaused();
break;
}
case 279: // Shift-F3
case KEY_F(4):
case 279: // Shift-F3 (this is non standard, use F4 instead)
{
quit = true;
break;
Expand Down

0 comments on commit e8cc042

Please sign in to comment.