Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 99 instead of 100 #18

Closed
wants to merge 8 commits into from
Closed

Conversation

ldemailly
Copy link
Contributor

So %0d on default settings doesn't have 1 odd duck sticking out

Expose History() AddToHistory() and NewHistory() so users of the library can save and restore the history
…ally add to the History (#4)

* Add AutoHistory(false) option (default remains true) to not automatically add to the History and let the caller of ReadLine() decide, for instance to only add validated commands
…faultHistoryEntries as const (#5)

* Add ReplaceLatest() to mutate top of history. Add comments. Expose DefaultHistoryEntries as const

* Correct godoc for ReplaceLatest
@ldemailly
Copy link
Contributor Author

sorry that's in #15 now and this was meant for the fork

@ldemailly ldemailly closed this Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant