Make command history in the console work.