Tty

Provides functionality to change the behaviour of the terminal. This is useful for running an app like vim or a game in the terminal.

Note: we plan on moving this file away from basic-cli in the future, see github.com/roc-lang/basic-cli/issues/73

enable_raw_mode! : {} => {}

Enable terminal raw mode to disable some default terminal bevahiour.

This leads to the following changes:

Note: we plan on moving this function away from basic-cli in the future, see github.com/roc-lang/basic-cli/issues/73

disable_raw_mode! : {} => {}

Revert terminal to default behaviour

Note: we plan on moving this function away from basic-cli in the future, see github.com/roc-lang/basic-cli/issues/73