prompt-toolkit / prompt-toolkit/python-prompt-toolkit
Option to disable bell?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for the great library. I'm using ConEmu on Windows, and one thing that's a little annoying upgrading to IPython 5.0 is the bell sound that is triggered if I hit backspace on a an empty line - just quickly skimming the code - I'm assuming it's triggered here?
I don't really know how the configuration of prompt toolkit works, but ideally there would be some way to turn this off that could be exposed through IPython?
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 with prompt_toolkit/key_binding/bindings/named_commands.py around line 181, where the issue suspects the bell is triggered. Read the prompt-toolkit configuration path and how IPython exposes it. Done means users can disable this bell through a documented configuration option, including when prompt-toolkit is used by IPython.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100