-
Implement appropriate unit tests for `paf.rs` and `covplot.rs`
Excluded for now:
* `CovPlot::to_console()` - not sure how to implement tests for `crossterm` output to `stdout`
* `PafAlignment::to…
-
I'm in a situation where I am pinning ratatui to version 0.27 (and crossterm to 0.27), but ratatui-macros is pulling in ratatui 0.28 anyway (and crossterm 0.28.1 anyway). The root cause of this is be…
matta updated
3 months ago
-
Windows uses `cls`, so one hacky solution would be to use conditional compilation to run `Command::new("cls")` when building for windows. Using the [crossterm](https://github.com/crossterm-rs/crosster…
-
**Describe the bug**
This issue was first reported in https://github.com/helix-editor/helix/issues/7129 including a reprocutions case. I did some digging there (https://github.com/helix-editor/helix/…
-
It looks like it's currently not possible to output the standard 3/4 bit colors with crossterm.
I just assumed that crossterm's named colors map to those colors, but they actually use the 8-bit col…
-
**Describe the bug**
cursor::SavePosition seems to only save the position on a line and doesnt work with newline.
**To Reproduce**
Working Code to overwrite printed value:
```
use crossterm::{c…
-
Environment: Windows 11 -> Windows Terminal -> WSL or PowerShell
When imlpement my own `EditMode`, I stumbled upon an issue: some key events are reported incorrectly.
Basically, I convert the ev…
-
**Describe the bug**
This took some tracking down!
Using `crossterm` 0.24 (or 0.25) in Docker with the Google distroless image (`gcr.io/distroless/cc`) results in a `No such file or directory` err…
-
## Description
I'm trying to render text that contains tabs but the tab character is not rendered.
## To Reproduce
Here's the code:
```rust
use std::io::{self, stdout};
use crossterm::{
ev…
-
**Describe the bug**
`event::read` sometimes returns `Esc` key press event while scrolling the mouse wheel very fast. This will likely happen on macOS if the user is using a trackpad (which can produ…