fix(skills): restore interleaved sleeps in TUI form-fill recipe

This commit is contained in:
Jesse Vincent
2026-07-04 15:59:44 -07:00
parent b1e4718205
commit bb080e2da8

View File

@@ -33,11 +33,19 @@ tmux kill-session -t <name> 2>/dev/null # idempotent: fine if nothing to kill
`-l` for literal text. A typical field-by-field fill mixes both: `-l` for literal text. A typical field-by-field fill mixes both:
```bash ```bash
tmux send-keys -t <name> BTab # shift-tab to a prior field tmux send-keys -t <name> "n" # tap a key to open the form
sleep 1
tmux send-keys -t <name> BTab # shift-tab back one field
sleep 0.3
tmux send-keys -t <name> C-u # clear the current line tmux send-keys -t <name> C-u # clear the current line
sleep 0.3
tmux send-keys -t <name> -l "some/literal/path" # literal — no key parsing tmux send-keys -t <name> -l "some/literal/path" # literal — no key parsing
tmux send-keys -t <name> Tab # forward to the next field sleep 0.3
tmux send-keys -t <name> Enter tmux send-keys -t <name> Tab # forward to next field
sleep 0.3
tmux send-keys -t <name> -l "text the user would type"
sleep 0.3
tmux send-keys -t <name> Enter # submit
``` ```
`sleep 0.3` between keys is usually enough; bump to 0.51.0s for field `sleep 0.3` between keys is usually enough; bump to 0.51.0s for field