Data source: http://rosettacode.org/wiki/Terminal_control/Hiding_the_cursor
