Skip to content

Commit 45f195a

Browse files
committed
Update usage.md
1 parent 61e327e commit 45f195a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/usage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ TUI.initialize()
4343
This function does a few things:
4444

4545
```julia
46+
backup_termios()
4647
tui_mode()
4748
hide_cursor()
4849
enable_raw_mode()
4950
clear_screen()
5051
move_cursor_home()
5152
```
5253

54+
- `backup_termios()`: backups termios settings to recover back to default terminal settings
5355
- `tui_mode()`: starts an alternate buffer
5456
- `hide_cursor()`: makes cursor not visible
5557
- `enable_raw_mode()`: capture key presses as they happen without waiting for the enter key

0 commit comments

Comments
 (0)