Avoid empty history lines
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
If nothing was entered in the terminal during a session, the empty history is kept and will be written to file. Change that to only write new contents to the history file, if the last non-empty line of the history actually contains new contents (and not only the session history date).
Should be an easy change by checking the last non-empty line in void NumeReHistory::saveHistory() and only writing it to file, once it is necessary.
Tested manually. No deviations detected.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r1147]
Diff: