'ctrl+i' and 'ctrl+m' simulate 'Tab' and 'Enter' respectively
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 818
- Forks
- 249
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 30
Description
Windows: 10.0.19045.6093
WSL 2.5.9.0
Debian 12
Nushell 0.105.1
'ctrl+i' and 'ctrl+m' simulate 'Tab' and 'Enter' respectively, like below:
~> keybindings listen
Type any key combination to see key details. Press ESC to abort.
code: Tab, modifier: KeyModifiers(0x0), flags: 0b000000, kind: Press, state: KeyEventState(0x0)
code: Enter, modifier: KeyModifiers(0x0), flags: 0b000000, kind: Press, state: KeyEventState(0x0)
I roughly understand the output after some search, but I think this is an unexpected and unwanted behavior, at least put them in default keybindings explicitly if people need them.
Contributor guide
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
Reproduce the behavior with Nushell's keybindings listen entry point on the reported Windows, WSL, and Debian setup, then trace Reedline's key-event handling and default keybindings. Done means determining whether Ctrl+I and Ctrl+M should remain distinct control-key events rather than being reported as Tab and Enter, and adding coverage for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100