Skip to content

Commit

Permalink
Update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Mar 19, 2024
1 parent 19f8c3f commit 3ae5635
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Another use case is running a couple of commands in parallel, using [--auto-exit
```
$ npm start
> @ start /Users/lydell/src/run-pty/demo
> start
> run-pty % npm run frontend % npm run backend
```

Expand All @@ -51,10 +51,11 @@ $ npm start
> vite --no-clearScreen
VITE v3.2.1 ready in 91 ms
VITE v5.1.6 ready in 81 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
[ctrl+c] kill (pid 36842)
[ctrl+z] dashboard
Expand All @@ -69,14 +70,15 @@ $ npm start
> vite --no-clearScreen
VITE v3.2.1 ready in 91 ms
VITE v5.1.6 ready in 81 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
^C
⚪ npm run frontend
exit 0
exit 130
[enter] restart
[ctrl+c] kill all
Expand All @@ -86,7 +88,7 @@ exit 0
➡️ <kbd>ctrl+z</kbd> ➡️

```
[1] ⚪ exit 0 npm run frontend
[1] ⚪ exit 130 npm run frontend
[2] 🟢 npm run backend
[1-2] focus command (or click)
Expand All @@ -98,8 +100,8 @@ exit 0
➡️ <kbd>ctrl+c</kbd> ➡️

```
[1] ⚪ exit 0 npm run frontend
[2] ⚪ exit 0 npm run backend
[1] ⚪ exit 130 npm run frontend
[2] ⚪ exit 130 npm run backend
$ ▊
```
Expand Down

0 comments on commit 3ae5635

Please sign in to comment.