Skip to content

Commit 17eaef5

Browse files
tigCopilot
andcommitted
Update CharMap keystroke script: Arrows -> Box Drawing -> Emoji
New sequence: Tab to category list, A (Arrows), Bo (Box Drawing), E (Emoji), Tab back to grid, context menu, quit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 53a1e3b commit 17eaef5

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

Scripts/tuirec/README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dotnet build Examples/ScenarioRunner/ScenarioRunner.csproj -c Release
2525
2626
# 2. Record
2727
$binary = "./Examples/ScenarioRunner/bin/Release/net10.0/ScenarioRunner.exe"
28-
$ks = 'wait:1200,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,wait:800,Shift+Tab,wait:400,B,o,x,wait:1800,A,r,r,wait:1800,Tab,wait:400,CursorDown,CursorDown,CursorDown,wait:400,Shift+F10,wait:1500,Escape,wait:400,Escape'
28+
$ks = 'wait:1200,Tab,Tab,wait:400,A,wait:1800,B,o,wait:1800,E,wait:1800,Tab,wait:400,CursorDown,CursorDown,CursorDown,wait:400,Shift+F10,wait:1500,Escape,wait:400,Escape'
2929
3030
tuirec record `
3131
--binary $binary `
@@ -180,8 +180,8 @@ $ks = 'wait:1000,`search text`,Enter,wait:500,Escape'
180180
```powershell
181181
$binary = "./Examples/ScenarioRunner/bin/Release/net10.0/ScenarioRunner.exe"
182182
183-
# Browse categories (Box Drawing, Arrows), show context menu on a glyph
184-
$ks = 'wait:1200,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,CursorDown,wait:800,Shift+Tab,wait:400,B,o,x,wait:1800,A,r,r,wait:1800,Tab,wait:400,CursorDown,CursorDown,CursorDown,wait:400,Shift+F10,wait:1500,Escape,wait:400,Escape'
183+
# Navigate to category list, browse Arrows → Box Drawing → Emoji, then context menu
184+
$ks = 'wait:1200,Tab,Tab,wait:400,A,wait:1800,B,o,wait:1800,E,wait:1800,Tab,wait:400,CursorDown,CursorDown,CursorDown,wait:400,Shift+F10,wait:1500,Escape,wait:400,Escape'
185185
186186
tuirec record `
187187
--binary $binary `
@@ -200,24 +200,25 @@ tuirec record `
200200
| Step | Tokens | What happens |
201201
|------|--------|--------------|
202202
| 1 | `wait:1200` | Let the CharMap UI fully render |
203-
| 2 | `CursorDown` ×8 | Scroll through the initial unicode code points |
204-
| 3 | `wait:800,Shift+Tab` | Pause, then move focus to category table |
205-
| 4 | `B,o,x` | Type "Box" — CollectionNavigator jumps to "Box Drawing" |
206-
| 5 | `wait:1800` | Pause so viewer sees box-drawing characters |
207-
| 6 | `A,r,r` | Type "Arr" — jumps to "Arrows" category |
208-
| 7 | `wait:1800` | Pause so viewer sees arrow characters |
209-
| 8 | `Tab` | Return focus to charmap grid |
210-
| 9 | `CursorDown` ×3 | Navigate to a glyph |
211-
| 10 | `Shift+F10` | Open context menu (Copy Glyph / Copy Code Point) |
212-
| 11 | `wait:1500,Escape` | Let viewer see the menu, then dismiss |
213-
| 12 | `Escape` | Quit |
203+
| 2 | `Tab,Tab` | Move focus to category list |
204+
| 3 | `A` | CollectionNavigator jumps to "Arrows" |
205+
| 4 | `wait:1800` | Pause so viewer sees arrow characters |
206+
| 5 | `B,o` | Type "Bo" — jumps to "Box Drawing" |
207+
| 6 | `wait:1800` | Pause so viewer sees box-drawing characters |
208+
| 7 | `E` | Type "E" — jumps to "Emoji" |
209+
| 8 | `wait:1800` | Pause so viewer sees emoji characters |
210+
| 9 | `Tab` | Return focus to charmap grid |
211+
| 10 | `CursorDown` ×3 | Navigate to a glyph |
212+
| 11 | `Shift+F10` | Open context menu (Copy Glyph / Copy Code Point) |
213+
| 12 | `wait:1500,Escape` | Let viewer see the menu, then dismiss |
214+
| 13 | `Escape` | Quit |
214215

215216
**Key techniques demonstrated:**
216217
- **CollectionNavigator typing** — type category name prefixes to jump directly
217218
(much better than scrolling through dozens of categories with arrow keys)
218219
- **Context menu**`Shift+F10` (the `PopoverMenu.DefaultKey`) shows the
219220
right-click menu on the selected glyph
220-
- **Generous waits**1500–1800ms between feature demonstrations so viewers
221+
- **Generous waits** — 1800ms between feature demonstrations so viewers
221222
can absorb each state change
222223

223224
---

0 commit comments

Comments
 (0)