Tty

Provides functionality to work with 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

enableRawMode : {} -> Task {} *

Enable terminal raw mode which disables some default terminal bevahiour.

The following modes are disabled:

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

disableRawMode : {} -> Task {} *

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