Added option making enter repeat last command in history if the input line is empty.
Enabled by default.