Add support for horizontal scrolling for the input line