0

i was trying to add a feature in my project(an chatting application) in which it would cut out the printed text in input() function such the result would be

enter the text: hello

instead of the output to be

enter the text: hello

bob>hello

i want it to be

bob>hello

the enter the text would disappear I have already tried a lot of articles but i did not got a perfect result,please help

  • You'll need to move the cursor up a line and overwrite it with spaces. See https://stackoverflow.com/questions/11474391/is-there-go-up-line-character-opposite-of-n/11474509#11474509 – Barmar Oct 02 '21 at 07:02

0 Answers0