preserve shell history, hide cursor