clastline

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


License
MIT
Install
pip install clastline==2.1.0

Documentation

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