* added option to show cursor or not