Fix to command-line history to be compatible with default one