I'm working on a program for Windows and Linux, coding it in C, and I want the program to get input from a user, show it until it finished (i.e. pressed 'enter'), then un-display what the user entered, finally re-displaying it with a time stamp.
It should look like this:
(Before user hits enter)
Enter a string: abcde
(Then after inputting the string "abcde")
|19:53| User: abcde
Currently what the program does is:
Enter a string: abcde
|19:53| User: abcde
Without the row of the input dissappearing.