Implement auto scrolling and new line in the console