mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
Support "control" and "return/enter" in the remarkup rule for keystrokes
Summary: These characters are missing support in `{key ...}` but are reasonable to include. Test Plan: {F8302969} Differential Revision: https://secure.phabricator.com/D21508
This commit is contained in:
parent
04c1f67a02
commit
c63c2aadef
1 changed files with 16 additions and 0 deletions
|
@ -61,6 +61,22 @@ final class PhabricatorKeyboardRemarkupRule extends PhutilRemarkupRule {
|
||||||
'escape',
|
'escape',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
'name' => pht('Enter'),
|
||||||
|
'symbol' => "\xE2\x8F\x8E",
|
||||||
|
'aliases' => array(
|
||||||
|
'enter',
|
||||||
|
'return',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'name' => pht('Control'),
|
||||||
|
'symbol' => "\xE2\x8C\x83",
|
||||||
|
'aliases' => array(
|
||||||
|
'ctrl',
|
||||||
|
'control',
|
||||||
|
),
|
||||||
|
),
|
||||||
array(
|
array(
|
||||||
'name' => pht('Up'),
|
'name' => pht('Up'),
|
||||||
'symbol' => "\xE2\x86\x91",
|
'symbol' => "\xE2\x86\x91",
|
||||||
|
|
Loading…
Reference in a new issue