We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa0e56 commit 0058a7fCopy full SHA for 0058a7f
1 file changed
examples/tty.roc
@@ -3,6 +3,9 @@ app [main!] { pf: platform "../platform/main.roc" }
3
import pf.Stdout
4
import pf.Tty
5
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
+
9
main! = |_args| {
10
Stdout.line!("Tty: enabling raw mode")
11
Tty.enable_raw_mode!()
0 commit comments