properly handle comments& line seps in Libedit::listHistory().