Conversation
Previously command history was only flushed after the end of session, this commit adds flushHistory function which performs the flushing and a flag to enforce flushing after every command.
|
You are probably right, I'll move it to Prefs. |
Previously command history was only flushed after the end of session, this commit adds flushHistory function which performs the flushing and a flag to Prefs to enforce flushing after every command.
|
Sorry for not fixing such trivial problems earlier, do you like how the code looks now? |
|
One other thing you might want to think about is what the right behavior is when there's multiple sessions open at once; see for example: Up to you, and not necessary to do for this pull request. |
|
We should indeed append instead of overwriting. |
|
Update: see #148 |
|
Closed in favour of #148. |
Previously command history was only flushed after the end of a session,
this commit adds flushHistory function which performs the flushing and
a flag to enforce flushing after every command.
Fixes issue #5
This change is