erase all text after upper prompt line; resolves issue with fish alt+arrow navigation of directory history