Skip to content

Commit

Permalink
feat: add page up & down key inputs (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamKem authored Dec 30, 2024
1 parent 7f6decd commit 749395f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Key.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ class Key

const SHIFT_UP = "\e[1;2A";

const PAGE_UP = "\e[5~";

const DOWN = "\e[B";

const SHIFT_DOWN = "\e[1;2B";

const PAGE_DOWN = "\e[6~";

const RIGHT = "\e[C";

const LEFT = "\e[D";
Expand Down

0 comments on commit 749395f

Please # to comment.