crossterm icon indicating copy to clipboard operation
crossterm copied to clipboard

Cross platform terminal library rust

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

**Describe the bug** On Windows, the Resize event yields results that are 1 less than the results from `terminal::size`. **To Reproduce** 1. Use crossterm on Windows 2. Call `terminal::size`; store...

Previously, results from a Resize event were 1 less than results from `terminal::size` in both x and y dimensions. This PR fixes #713

I've run into #500 (which is caused by https://github.com/tokio-rs/mio/issues/1377) several times now, so here is a shot at reimplementing `EventSource` using `select()` instead of `mio` as discussed in the issue....

**Describe the bug** Mouse up/down/move events never have `KeyModifier`s applied. Tested with ctrl and alt, shift+click is used directly by konsole so that probably shouldn't be known. **To Reproduce** 1....

`crossterm::event::read` is picking up key presses that occur before the function is even called. How do I prevent this?

I found myself wanting to iterate over the variants of `Color`, thought this change might be useful upstream. Since most people will not need this I put it in a...

I'm using the Kitty terminal emulator with crossterm's raw mode, `DISAMBIGUATE_ESCAPE_CODES` and `REPORT_ALL_KEYS_AS_ESCAPE_CODES`. I noticed that caps lock was always being reported as active via `event.state.contains(KeyEventState::CAPS_LOCK)`, even when toggling the...

run the event-read example on plain mac terminal (ventura 13.3.1 M1 cpu) Press shift, hit enter, no key modifier is reported.. Same for control. If I use iterm2 it works...

Partially addresses #792 In Ratatui apps using Crossterm, something we'd like to be able to generally provide approaches for is help screens that show the key bindings that will be...

**Is your feature request related to a problem? Please describe.** I’m implementing a system to automatically build help panes from a contextual action structure. I have everything I need already...