fixed clearLine and added functionality

fixed clearLine-function, added functionality to clear multliple lines
at once and to shift the begin of the cleared area further to the right