Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.
/ clastline Public archive

Quick way to modify the 'last line' of the terminal using Python.

License

Notifications You must be signed in to change notification settings

csm10495/clastline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice:

I'm not really developing this anymore. Recommend using https://rich.readthedocs.io/en/stable/console.html#status as an alternative.

cLastLine

Module to easily allow rewriting the last line in the terminal.

Example

from clastline import cLastLine

with cLastLine() as c:
    # write testing to the last line
    c.write("testing")

    # write testing again to the last line (overwrites previous)
    c.write("testing again")

    # overwrite the first characters of the line (though leave rest)
    c.write("ouch!", clearBeforeWrite=False)

Install

pip install clastline

About

Quick way to modify the 'last line' of the terminal using Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages