crossterm
crossterm copied to clipboard
Cross platform terminal library rust
**Describe the bug** If the cursor is hidden when clearing the terminal, it's shown again. **To Reproduce** Steps to reproduce the behavior: 1. `execute!(stdout, Hide);` 2. `execute!(stdout, Clear(ClearType::All));` 3. See...
See https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda for the specification and a list of things that already support/use this sequence.
**Describe the bug** The `Display` implementation for `StyledContent` ignores the formatting parameters, such padding or alignment. **To Reproduce** Steps to reproduce the behavior: ```rust use crossterm::style::{Stylize, style}; fn main() {...
http://www.leonerd.org.uk/hacks/fixterms/ as an alternative code path here: https://github.com/crossterm-rs/crossterm/blob/ec1ed6879e07188cc049ef49ede6b2768dbf468a/src/event/sys/unix/parse.rs#L159-L164 (for unix) `b'u' => return parse_csi_u_encoded_key_code(buffer), `
**Describe the bug** Crash when scrolling happens on the left of the terminal window. See video  **To Reproduce** Steps to reproduce the behavior:...
**Describe the bug** \n is said not to work while in raw mode; however, testing with windows reveals that \n does work, but results in flickering. Also, \r\n produces flickering...
The compiler throws error [E0038](https://doc.rust-lang.org/error-index.html#E0038) ``` error[E0038]: the trait `crossterm::Command` cannot be made into an object --> src/main.rs:40:53 | 40 | fn draw_a_declarative_list(&mut self, commands: Vec) -> Result; // example...
**Describe the bug** When the height of PowerShell is 0, `event.read()` will return `Event::Resize(xxx, 65535)`. **To Reproduce** - Clone the newest repo, run `cargo run --example event-poll-read`. - Drag the...
Here https://crates.io/crates/crossterm the project erroneously has the category "Command line utilities". Could you please remove it? Thanks, Yuri
Currently the Stylize trait offers a `dim` method. It would be very useful if there was a `on_dim` method for the background.