Add cursor shape handler
Merge pull request #6 from maxfl/bind_mode

Add cursor shape handler