Function LineGetter.cancelHistorySearch

Cancels an in-progress history search immediately, discarding the result, returning to the normal prompt.

void cancelHistorySearch();

If the user is not currently searching history (see [isSearchingHistory]), this function does nothing.