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

Read history only once #20

Merged
merged 2 commits into from
Aug 8, 2011
Merged

Conversation

godfat
Copy link
Contributor

@godfat godfat commented Aug 4, 2011

We might have multiple shells but only one Readline::HISTORY,
so only read history when it's empty.

@cldwalker
Copy link
Owner

I'll pull this in for now but may take it out if it interferes with other gems. In general, I'd like to shy away from things like the empty? check which is specific to your needs. Since you know have #read_history, you can customize it as you like. I'd like to keep the ripl core simple.

cldwalker added a commit that referenced this pull request Aug 8, 2011
@cldwalker cldwalker merged commit 3ec96ee into cldwalker:master Aug 8, 2011
@godfat
Copy link
Contributor Author

godfat commented Aug 8, 2011

Sure, feel free to reject any proposal from me.
I guess in general, it's good that one tries to keep it extremely
simple and light while one tries to extend and add features on it :)

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.

2 participants