Exchange line editor liner with github.com/chzyer/readline #4
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lisp/lingo#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
linerhas a larger feature set, but is quirky sometimes; also, whilex/crypt/ssh/terminalmust be installed separately, too, it is not an external dependency likelineris.And, switching raw mode on/off directly before reading a line should also revolce the
licissue #1.The above comment turned out to be too optimistic, as that didn't help either. Also, raw mode wasn't switched on (explicitly) at all, so switching to cooked mode wasn't what was needed anyway. The bug seems to be in liner itself.
Anyway, to change horses mid-stream, I decided not to switch to
x/crypt/ssh/terminal(which was just too frugal), but rather attempt it withgithub.com/chyzer/readline, which has at least a history. Or so it claims; let's see how I can get that one going. Apparently saving the history to a file doesn't happen on its own, as I thought was implied by the documentation.changed title from Exchange line editor liner with {-x/crypt/ssh/terminal-} to Exchange line editor liner with {+github.com/chzyer/readline+}
Changed title to reflect new goal
mentioned in commit
0e3ad67fdaclosed by
0e3ad67fdaclosed