Skip to content

Commit 0058a7f

Browse files
authored
Add comments about raw mode
1 parent aaa0e56 commit 0058a7f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

examples/tty.roc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ app [main!] { pf: platform "../platform/main.roc" }
33
import pf.Stdout
44
import pf.Tty
55

6+
## Raw mode allows you to change the behaviour of the terminal.
7+
## This is useful for running an app like vim or a game in the terminal.
8+
69
main! = |_args| {
710
Stdout.line!("Tty: enabling raw mode")
811
Tty.enable_raw_mode!()

0 commit comments

Comments
 (0)