cursory

compute the relative cursor position on a terminal stream

Sadly, this package has no readme. Go write one!