Revert "prompt: clean up strbuf usage"