Open huyz opened 1 year ago
Thanks for the suggestion @huyz.
Can you give me an example of how with-readline makes the app more usable?
You mean you're not familiar with GNU Readline?
For example, it lets you hit the up-arrow and edit the previous command.
I guess this is an example video: https://www.youtube.com/watch?v=Hek2CMtzrJ0
Yeah looks cool: nice to be able to use the Emacs keystrokes inside Soulver.
I'll have to look into whether there is a better way to enable these keystrokes out-of-the-box with Swift command line tools, but GNU Readline is a good workaround in the meantime.
Amazing, thanks @huyz – for sure mentioning this (until resolved natively with Swift) in the README should make people appreciate this CLI so much more (it feels broken when you can't use the arrow keys to navigate).
Might want to add this recommendation: https://formulae.brew.sh/formula/with-readline
and add to your
~/.zshrc
or~/.bashrc
:and restart your shell.
Makes this Soulver CLI app much more usable