Skip to content
Snippets Groups Projects

added more special keys

Merged Michael Aaron Murphy requested to merge IGI-111:master into master

Created by: IGI-111

This should partly solve #16

Key now supports Home, End, PageUp, PageDown, Delete, Insert and Function keys. All this is done through the detection of both VT100 escape codes and more modern standard counterparts. For instance, F2 can be both ESC OQ on VT100, screen, and some versions of xterm and ESC [12~ on rxvt and other xterm versions depending on your terminal.

Note also that only F1 through F12 are supported since codes tend to wildly diverge beyond that point and it's not part of the ISO or ANSI keyboard specs anyways.

Merge request reports

Approval is optional

Merged by avatar (Mar 29, 2025 11:22pm UTC)

Merge details

  • Changes merged into master with 2f6ebb86.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: ticki

    For instance, F2 can be both ESC OQ on VT100, screen, and some versions of xterm and ESC [12~ on rxvt and other xterm versions depending on your terminal.

    Could you add this to the docs of F2?

  • Michael Aaron Murphy
  • Michael Aaron Murphy
  • Created by: ticki

    Very nice!

  • Please register or sign in to reply
    Loading