You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, linenoise does not provide a way to read lines in history via its API. I think this would be useful. I think a way to implement this could be to allow history to be iterated on.
perhaps something like...
structHistoryIter {
char**history; // a pointer to the history, same type as history itself (perhaps the same reference or a copy)intcount; // the number of lines in history
}
structHistoryIterlinenoiseGetHistory();
As far as I can tell, linenoise does not provide a way to read lines in history via its API. I think this would be useful. I think a way to implement this could be to allow
history
to be iterated on.perhaps something like...
or maybe a macro...
The text was updated successfully, but these errors were encountered: