If you prompt a user to enter a value say;
"Enter Salary: $"
Then the user enters 500.00 and strikes the enter key.
The cursor then goes to the next line.
And this is what I want to prevent
I don't want the cursor to go to a new line when the user hits enter. Or when it goes to a new line is there a way to get it back up to the previous line