Skip to content

Commit 840028e

Browse files
committed
docs: add tty index.md
1 parent e918bdb commit 840028e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

docs/src/tty/index.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# What is tty?
2+
3+
`tty` provides small cross-platform Lua bindings for terminal inspection.
4+
5+
## Compatibility
6+
7+
`tty` supports:
8+
9+
- Lua 5.1
10+
- Lua 5.2
11+
- Lua 5.3
12+
- Lua 5.4
13+
- Lua 5.5
14+
- LuaJIT
15+
16+
## Use Cases
17+
18+
- Detect whether standard streams are attached to a terminal.
19+
- Check Lua file handles and numeric file descriptors.
20+
- Read terminal rows and columns for command-line output.
21+
- Build terminal-aware Lua tools.

0 commit comments

Comments
 (0)