Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comments about raw mode
  • Loading branch information
Anton-4 authored Jan 24, 2026
commit 0058a7fa2fd25e5a9564172476de969b084413e9
3 changes: 3 additions & 0 deletions examples/tty.roc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ app [main!] { pf: platform "../platform/main.roc" }
import pf.Stdout
import pf.Tty

## Raw mode allows you to change the behaviour of the terminal.
## This is useful for running an app like vim or a game in the terminal.

main! = |_args| {
Stdout.line!("Tty: enabling raw mode")
Tty.enable_raw_mode!()
Expand Down
Loading