I have this code in an infinite loop:
read -a output echo ${output[@]} When the code runs the screen might look like this:
Hello, World # line where value was given to output (I want this gone) Hello, World # echoed output [] # <-- cursor waiting for next input Is there a way to clear the line where the user inputs the value? Like, as in get rid of it totally (not just changing the line to whitespace that will still leave a gap in the desired output)?