crossterm icon indicating copy to clipboard operation
crossterm copied to clipboard

Cross platform terminal library rust

Results 164 crossterm issues
Sort by recently updated
recently updated
newest added

https://github.com/crossterm-rs/crossterm/blob/f59221e1a228d97c24d2318a51645eccc1bdf8e7/src/macros.rs#L121-L131 I'm talking about `$($t:ty),+` it looks like you should be using this macro like `impl_display!(for SetColors, SetAttribute, ...);` but what I see in the actual code is this: https://github.com/crossterm-rs/crossterm/blob/f59221e1a228d97c24d2318a51645eccc1bdf8e7/src/style.rs#L489-L495...

**Describe the bug** Using the `ContentStyle.underline_color` results in blinking on Windows terminal. (initially discovered: https://github.com/nushell/nushell/pull/6172#issuecomment-1201856518) **To Reproduce** MRE ``` toml [dependencies] crossterm = "0.24" ``` (also tested on current HEAD)...

**Describe the solution you'd like** for example, I want do something when I press up a key(e.g. 'h') **Describe alternatives you've considered in any** different KeyCode into KeyCodeDown and KeyCodeUp...

enhancement
difficulty: medium

**Is your feature request related to a problem? Please describe.** I'm making a piano-like UI and I need to detect key up events to know when to stop playing the...

Hi, I am current making an SSH server. After user logged in, they will get a UI based on `tui` and `crossterm`. However, it seems that crossterm relies on getting...

The following syscall [can block](https://pubs.opengroup.org/onlinepubs/9699919799/functions/read.html) waiting for stdin: https://github.com/crossterm-rs/crossterm/blob/58f580eaad4e80ccb8a09541b760a329971bb4bc/src/event/sys/unix/file_descriptor.rs#L33-L37 ## Steps to reproduce Create a new binary project and place the following code in `main.rs`. Once done, run with `cargo...

Environment Microsoft Windows [Version 10.0.18363.535] + WSL 1.0 WSL: Linux 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 Code 1 use crossterm::{Result, cursor}; 2 3 fn main() -> Result...

bug

Parsing ANSI codes to input events is a pain. There is no good way to tell which terminals implement which key combinations. Therefore it might occur that some terminals do...

I'm getting a panic for this line: https://github.com/crossterm-rs/crossterm/blob/5b19aa6d6a74438c6db4bfad4be220b400ab53da/src/event/read.rs#L38 https://github.com/kdheepak/taskwarrior-tui/runs/6213145550?check_suite_focus=true#step:8:319 When trying to call this: ``` let mut reader = crossterm::event::EventStream::new(); ``` Do you think `new()` should return a `Result` type...

enhancement
difficulty: easy

will you use windows-sys crate instead of winapi-rs crate,?as is shown in this https://github.com/kennykerr/compare-rs repo,windows-sys have a shorter compile time

enhancement
difficulty: easy