crossterm
crossterm copied to clipboard
Cross platform terminal library rust
I'm packaging this crate for Fedora Linux, and I noticed that there's some seemingly random test failures with version 0.27.0 - either the `style::types::colored::tests::test_parse_ansi_bg` or the `style::types::colored::tests::test_parse_ansi_fg` (or both) tests...
If you enable pixel mouse position reporting like this: stdout.write_all(b"\x1B[?1016h").unwrap(); Then it works fine except if you move your mouse to the top of the screen, then it can report...
If you use a feature that crossterm doesn't support directly, for example Kitty's graphics protocol, then the terminal will send escape sequences that crossterm doesn't understand. In that case I...
Raw mode didn't quite work for me as I would have expected on windows. For example: function and arrow keys didn't work at all. I took inspiration from the raw...
The following Left, Up, Right, Down events are not being recognized on Windows 10 when user launches the app within Git Bash. It works when using Powershell. ```rust if crossterm::event::poll(timeout)?...
**Describe the bug** `SetUnderlineColor` command results in a `SetUnderlineColor not supported by winapi.` error **To Reproduce** Issue a `SetUnderlineColor` command on Windows 7 **Expected behavior** Nothing happens, crossterm silently ignores...
**Is your feature request related to a problem? Please describe.** I recognize this has already been discussed, see the bottom for why I bring it up again. When using commands...
**Describe the bug** Event fires on keyup and keydown **To Reproduce** Steps to reproduce the behavior: 1. Go to https://github.com/fdehau/tui-rs/blob/master/examples/list.rs 2. Compile 3. Press down 4. Jumps twice down **Expected...
## Description In the case that the cursor is at the very bottom of the terminal, `cursor::MoveToNextLine(n)` does not cause the terminal to scroll or the cursor to go off...
**Describe the bug** When using `crossterm::cursor::position()` when stdin comes from another program (piped input), the program freezes and doesn't respond to any other event. When it occurs, it's impossible to...