cmdline: display prompt and previous command after pager