Timon
Timon
> Is it possible to turn it into a blocking call just like read while remaining the possibility to wake up? I don't think so, it is based on futures...
No direct plans no. The waker can be exposed. But it is a static global which I would like to keep private. However, I do follow your line of reasoning....
Yes, we will be using that. Once it is ready we can do an 0.14.* release.
Crossterm does provide a function that returns the number of availible colors. https://docs.rs/crossterm/0.14.1/crossterm/style/fn.available_color_count.html. Tough, this isn't perfect by far. I would love to see something like this in crossterm.
```rust pub fn available_color_count() -> u16 { env::var("TERM") .map(|x| if x.contains("256color") { 256 } else { 8 }) .unwrap_or(8) } ``` (https://github.com/crossterm-rs/crossterm/blob/master/src/style.rs) This is what it does. So basically it...
0.17 supports a user to validate if the current terminal is an tty.
Its not a high prio but I am open to having it transitioned.
I don't have any objections to it really. I don't recall the reason why u16 was introduced in the first place. 'cursor set', 'cursor get', 'get a terminal size', 'set...
I believe it is. It is related to the alternate screen and main screen. If one disables the cursor on an alternate screen it will still be disabled if it...
I fixed the wrong size return. Will make a PR soon.