linenoise icon indicating copy to clipboard operation
linenoise copied to clipboard

Added runtime history access.

Open sprowell opened this issue 10 years ago • 1 comments

Added linenoiseHistoryLine function to get a copy of a line from the history, and added code to the example to demonstrate it.

sprowell avatar Oct 20 '15 20:10 sprowell

I was not fond of the way history access was added by #80 and #81, and also did not like the idea of "baking in" the ! access to history (since I have projects that use !). I think the code I wrote is consistent with "the linenoise way."

sprowell avatar Oct 20 '15 20:10 sprowell