Added showCursor for tty streams

Added showCursor(stream, visible) which shows/hides the cursor in tty streams.