main: Use a configuration option for hidding out the cursor