Skip to content

Commit

Permalink
Update tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
hakavlad committed Apr 10, 2024
1 parent b42a2ad commit 52479f5
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions docs/tutorial/0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@

---

#### Exit with action #0:
#### Exit with action #0

Select option `0` and press `Enter` to exit the menu.

<details>
<summary>Output</summary>

```
$ tird
Expand All @@ -19,12 +24,22 @@ $ tird
[01] Select an option [0-9]: 0
I: action #0: exit
```
</details>

<details>
<summary>Screenshot</summary>

![Screenshot](https://i.imgur.com/baPCKwA.png)
</details>

---

#### Exit with `Ctrl` + `C`:
#### Exit with `Ctrl` + `C`

Press `Ctrl` + `C` to exit.

<details>
<summary>Output</summary>

```
$ tird
Expand All @@ -40,12 +55,22 @@ $ tird
[01] Select an option [0-9]: ^C
I: caught signal 2
```
</details>

<details>
<summary>Screenshot</summary>

![Screenshot](https://i.imgur.com/gAA7AYN.png)
</details>

---

#### Exit from an ongoing action with `Ctrl` + `C`:
#### Exit from an ongoing action with `Ctrl` + `C`

Press `Ctrl` + `C` to exit. Aborting an unfinished action results in an error exit.

<details>
<summary>Output</summary>

```
$ tird
Expand All @@ -63,5 +88,10 @@ I: action #8: create a file with random bytes
[07] Output file: ^C
E: caught signal 2
```
</details>

<details>
<summary>Screenshot</summary>

![Screenshot](https://i.imgur.com/tV1scDO.png)
</details>

0 comments on commit 52479f5

Please sign in to comment.