Fix of prompt problem if ucsim runs in background mode (-r option)