console-rs / console-rs/console

Capture key modifiers

Open
#125 5 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.