Added clear_screen() method for cmdline mode.
Merge origin/master