update prompt to display in one line