minor quirks in chat w/ new readline functionality
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12.5k
- Forks
- 998
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
Saw the readline addition this week and wanted to check it out. Can confirm that things like arrow keys, alt+delete (on macOS) now work (yay!). But there are some weird interactions between (I think) readline and click prompts.
Quirks:
-
When using 'alt+delete' to delete the last word on a line, the space character of the prompt is also deleted.
-
Accessing history with
Ctrl+ris allowed and functional, but breaking out w/Ctrl+ccausesclickprompt to abort. Exiting withEscdeletes the line including theclickprompt.
I almost didn't file these because they're so, so nitty, but the readline change is fresh so I thought it would be better to do it now than later. 😃
Also, thanks for the tool and the extensive docs and blogs -- it's been really helpful, and a lot of fun. 🙇♂️
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
Start by locating the recent readline addition and the Click prompt integration, then reproduce the reported Alt+Delete, Ctrl+R/Ctrl+C, and Esc interactions. Done means the prompt space is preserved and history cancellation or exit no longer aborts Click or deletes the prompt unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100