Skip to content

Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only

License

Notifications You must be signed in to change notification settings

richardvecsey/termcursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generic badge PyPI - Python Version GitHub CodeFactor Grade PyPI - Status PyPI - Wheel Downloads PyPI - Downloads

termcursor

Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only

Quickstart

Requirements

This module use Python Standard Library only. Python version should be higher than 3.10

Install

pip install termcursor

How to Use

This code works as module not a script.

Module level import

import termcursor

# hiding the console cursor
termcursor.hidecursor()

# showing the console cursor
termcursor.showcursor()

Function level import

from termcursor import hidecursor, showcursor

# hiding the console cursor
hidecursor()

# showing the console cursor
showcursor()

Help

import termcursor

help(termcursor)

Examples

Module level import

Example is available in the example.py

Function level import

Example is available in the example2.py

License

The content of this repository is licensed under MIT license. For more details, check LICENSE

About

Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages