7 releases (4 breaking)
new 0.5.1 | Mar 13, 2025 |
---|---|
0.5.0 | Oct 14, 2024 |
0.4.1 | Jul 25, 2024 |
0.4.0 | Mar 11, 2024 |
0.1.0 | Jan 3, 2022 |
#241 in Command-line interface
10,919 downloads per month
Used in 27 crates
(3 directly)
10KB
152 lines
Low level library to query the terminal with a CSI sequence and get the result as a string.
Notes:
- the terminal must already be in raw mode
- there's no Windows support (it should be possible with WSAPoll but I don't have any Windows computer to test so a PR would be welcome)
The provided example in examples/kitty demonstrates querying the terminal to know whether the Kitty graphics protocol is supported, and manages entering and leaving raw mode.
If you think you might use this crate but are unsure, don't hesitate to come to Miaou:
Dependencies
~2MB
~49K SLoC