Added support for controlling and rewinding multiple lines in STDOUT.