Skip to content

Commit 0c6d548

Browse files
committed
feat(hotkeys, deselect): Add Up/Down arrow, Alternative way to deselect
1 parent 511d625 commit 0c6d548

File tree

6 files changed

+384
-169
lines changed

6 files changed

+384
-169
lines changed

ABOUT.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@ The CCTextInputNode implementation Robert was too lazy to implement.
66

77
- Text selection
88
- Better text input™️
9-
- Ctrl+A, Ctrl + Left/Right Arrow, Shift + Left/Right Arrow, Home, End and a bunch more hotkeys
9+
- Hotkeys:
10+
- Ctrl + A
11+
- Ctrl + X
12+
- Ctrl + Delete/Backspace
13+
- Ctrl + Left/Right Arrow
14+
- Shift + Left/Right Arrow
15+
- Shift + Up/Down Arrow
16+
- Home (+ Shift)
17+
- End (+ Shift)
18+
- Shift + Ins
1019
- Esc to deselect an input node
1120
- Ability to bypass character filter (can be disabled)
1221
- Ability to bypass max input length (can be disabled)

mod.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
"type": "bool",
3838
"default": false
3939
},
40+
"alternate-deselect": {
41+
"name": "Alternate Deselect",
42+
"description": "Makes the ESC key functions just like in the base game, doesn't deselect the input and instead just exits/closes the layer.",
43+
"type": "bool",
44+
"default": false
45+
},
4046
"highlight-color": {
4147
"name": "Selection Color",
4248
"description": "Sets the color of the highlight.",

0 commit comments

Comments
 (0)