Skip to content

Commit 8238ad1

Browse files
committed
docs(CHANGES): Update for pausing
1 parent 1766804 commit 8238ad1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGES

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,27 @@
2222
enter: false
2323
```
2424
25+
- #750: Pause execution via `sleep_before: [int]` and `sleep_after: [int]`
26+
27+
```yaml
28+
session_name: Pause / skip command execution (command-level)
29+
windows:
30+
- panes:
31+
- shell_command:
32+
# Executes immediately
33+
- echo "___$((11 + 1))___"
34+
# Delays before sending 2 seconds
35+
- cmd: echo "___$((1 + 3))___"
36+
sleep_before: 2
37+
# Executes immediately
38+
- cmd: echo "___$((1 + 3))___"
39+
# Pauses 2 seconds after
40+
- cmd: echo "Stuff rendering here!"
41+
sleep_after: 2
42+
# Executes after earlier commands (after 2 sec)
43+
- cmd: echo "2 seconds later"
44+
```
45+
2546
- #701: `tmuxp freeze` now accepts `--quiet` and `--yes` along with the
2647
`--config-format` and filename (`--save-to`). This means you can do it all in
2748
one command:

0 commit comments

Comments
 (0)