vistir.cursor module

vistir.cursor.hide_cursor(stream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>)[source]

Hide the console cursor on the given stream

Parameters:stream – The name of the stream to get the handle for
Returns:None
Return type:None
vistir.cursor.show_cursor(stream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>)[source]

Show the console cursor on the given stream

Parameters:stream – The name of the stream to get the handle for
Returns:None
Return type:None
vistir.cursor.get_stream_handle(stream=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>)[source]

Get the OS appropriate handle for the corresponding output stream.

Parameters:stream (str) – The the stream to get the handle for
Returns:A handle to the appropriate stream, either a ctypes buffer or sys.stdout or sys.stderr.