Skip to content
Closed
Changes from all commits
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
17 changes: 17 additions & 0 deletions pages/common/ttyctl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ttyctl

> Freeze or unfreeze the terminal (TTY) settings in Zsh.
> When frozen, external programs cannot alter terminal settings.
> More information: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.

- [f]reeze the terminal to prevent external programs from changing its settings:

`ttyctl -f`

- [u]nfreeze the terminal to allow changes to its settings:

`ttyctl -u`

- Report whether the terminal is currently frozen or not:

`ttyctl`