Avoid screen flickering

Use erase instead of clear to avoid screen flickering. clear will cause
curses to repaint entire window from scratch, which causes flickering.
Merge pull request #24 from omajid/no-flicker

Avoid screen flickering