fix(search): fix terminal clearing with latest Ratatui (#3578)