Added support for specifying cursor
Merge pull request #56 from naiyt/master

Added support for specifying cursor