progress: treat "no terminal" as being in the foreground