Skip to content
Prev Previous commit
Next Next commit
docs(CHANGES): Update for pausing
  • Loading branch information
tony committed Mar 14, 2022
commit 06a85102758e17254581d18d65fb4cd07295d405
21 changes: 21 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,27 @@
enter: false
```

- #750: Pause execution via `sleep_before: [int]` and `sleep_after: [int]`

```yaml
session_name: Pause / skip command execution (command-level)
windows:
- panes:
- shell_command:
# Executes immediately
- echo "___$((11 + 1))___"
# Delays before sending 2 seconds
- cmd: echo "___$((1 + 3))___"
sleep_before: 2
# Executes immediately
- cmd: echo "___$((1 + 3))___"
# Pauses 2 seconds after
- cmd: echo "Stuff rendering here!"
sleep_after: 2
# Executes after earlier commands (after 2 sec)
- cmd: echo "2 seconds later"
```

- #701: `tmuxp freeze` now accepts `--quiet` and `--yes` along with the
`--config-format` and filename (`--save-to`). This means you can do it all in
one command:
Expand Down