I have written a small tool that iterates over a wordlist and I want it to print each line from the wordlist over the previous line, I have tried the following but it has issues.
print(word + (100 * " "), end="\r", flush=True)
This works as expected in VSCodes in-built terminal but when I run the same tool in either the OS's (Xfce) in-built terminal or Terminator each "word" is printing on a newline
Does anyone know why this is happening all my research just points me on how to do it, which doesn't help as the way to do it is what has this issue.
Thanks