repl ignores inputrc
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- cli
Research direction
Start at the spago repl entry point and inspect how terminal input and inputrc/readline configuration are handled; the issue does not name a file or test. Done means the listed history-search bindings work in spago repl without breaking normal history navigation, with coverage for the reported behavior if the project has relevant tests.
Written by the indexing model from the issue text.
Description
I have the following lines in my ~/.inputrc:
"\e[A": history-search-backward
"\e[B": history-search-forward
For most apps that use the readline library, this means that I can search my history by typing the first few characters of a previous command and pressing the up arrow. However, spago repl seems to ignore this, and just goes to the previous history entry, regardless of what I type.
This feature would be particularly useful for purescript, since there seems to be no way to reload a package without also losing all the bindings that that were entered previously. It would be a lot easier to re-enter commands if I was able to search the history for them.
(By the way, I don't yet understand the purescript ecosystem well enough to know if this is an issue with spago or some other package - if I should file this issue somewhere else please let me know.)
- Dominant language
- PureScript
- Stars
- 831
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from purescript/spago
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
purescript/spago#1408 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
purescript/spago#1403 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
purescript/spago#1418 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
purescript/spago#1386 · 1 comment ·
-
bug UX
Difficulty 3/5 1-2 days Newbie friendliness 35/100
purescript/spago#1330 · 2 comments ·
All issues in purescript/spago
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
omacom/omarchy#14030 · 1 comment ·
Maintainers usually reply within 1 day
-
agent-butler-finding agent-research bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
jordansmall/spindrift#4249 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
grafana/faro-javascript-bundler-plugins#682 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
mksglu/context-mode#1242 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
volcengine/veadk-python#1154 ·
Maintainers usually reply within 1 day