(sequencePath: string)
| 39 | }) |
| 40 | |
| 41 | function buildResetScript(sequencePath: string): string { |
| 42 | return ( |
| 43 | `bash -lc '` + |
| 44 | `i=1; ` + |
| 45 | `while [ "$i" -le 40 ]; do printf "L%02d\\n" "$i"; i=$((i+1)); done; ` + |
| 46 | `cat ${shellQuote(sequencePath)}; ` + |
| 47 | `sleep 5` + |
| 48 | `'` |
| 49 | ) |
| 50 | } |
| 51 | |
| 52 | function withTmuxSerializationEnv<T>(fn: () => T): T { |
| 53 | const previousTmux = process.env.TMUX |
no test coverage detected