Fixed screen clearing bug. This makes running in xterm mode a million times more usable.
Merge pull request #1 from ardagnir/upstream

Fixed screen clearing bug.