console-rs / console-rs/console
Capture key modifiers
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 144
- Avg merge
- 8h 24m
- Merged PRs (30d)
- 4
Description
Say I want to capture Shift / Alt / Ctrl
Is there any way of doing that with this library?
Is there any way of knowing if a key is currently pressed?
it seems like the lib only captures keydown event and not keyup so we can't even know if it was released or not?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the library's keyboard input handling from the keydown path mentioned in the issue. Check whether modifier keys and key-release events are represented, and compare the supported terminal behavior across platforms. Done means the intended modifier and pressed-state behavior is defined and covered by appropriate tests or documented limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100