usually you get the prompt on the last line, still not happy with this solution but its ok for now