Added escape sequence to fix scrolling through command history.