3 ms·
Is there a companion project for the input side of these apps, like a modernized readline type thing yet?
by ZeroGravitas 5y ago
Is there a companion project for the input side of these apps, like a modernized readline type thing yet?
- pridkett 5y agoThis would be so helpful. About a year ago I got the combination of FZF and bat working for my command line history. It’s wild how much better and easier that makes it to find complex commands from the past.
- SnowflakeOnIce 5y agoWhat purpose does bat serve in showing command-line history?
- alin23 5y agoI'm guessing it's for showing a syntax highlighted preview of multi line commands. That's what I use it for. The UI would be similar to this: https://user-images.githubusercontent.com/700826/113683873-a42a6200-96ff-11eb-9666-26ce4091b0e4.png https://user-images.githubusercontent.com/700826/113683873-a...
- adambyrtek 5y agoTake a look at prompt_toolkit which is a Python library used by IPython among others: https://github.com/prompt-toolkit/python-prompt-toolkit https://github.com/prompt-toolkit/python-prompt-toolkit
- aseipp 5y agoIsocline, a readline alternative by Daan Leijen (an absolute legend) is about the closest I've found to this: https://github.com/daanx/isocline https://github.com/daanx/isocline That said it doesn't push "input controls" quite to the extreme Rich/Textual do for UI controls, but it might be a starting point to look into.