Support scroll up ANSI escape sequence.