forked from extern/Unexpected-Keyboard
Support the nnbsp character
This commit is contained in:
parent
bea2e6cd1f
commit
46f3b41393
@ -53,7 +53,8 @@ These keys are sent to apps, which are free to ignore them. The keyboard do not
|
||||
Value | Meaning
|
||||
:------ | :------
|
||||
`space` | Space bar.
|
||||
`nbsp` | No-break space. Note: To input the narrow no-break space recommended for French, use `\u202F`.
|
||||
`nbsp` | Non-breaking space.
|
||||
`nnbsp` | Narrow non-breaking space.
|
||||
`zwj` | Zero-width joiner.
|
||||
`zwnj` | Zero-width non-joiner.
|
||||
|
||||
|
@ -503,6 +503,7 @@ public final class KeyValue implements Comparable<KeyValue>
|
||||
case "\\n": return charKey("\\n", '\n', 0); // Send the newline character
|
||||
case "space": return charKey(0xE00D, ' ', FLAG_KEY_FONT | FLAG_SMALLER_FONT | FLAG_GREYED);
|
||||
case "nbsp": return charKey("\u237d", '\u00a0', FLAG_SMALLER_FONT);
|
||||
case "nnbsp": return charKey("\u2423", '\u202F', FLAG_SMALLER_FONT);
|
||||
|
||||
/* bidi */
|
||||
case "lrm": return charKey("↱", '\u200e', 0); // Send left-to-right mark
|
||||
|
Loading…
Reference in New Issue
Block a user