Cancels an in-progress history search immediately, discarding the result, returning to the normal prompt.
If the user is not currently searching history (see isSearchingHistory), this function does nothing.
Cancels an in-progress history search immediately, discarding the result, returning to the normal prompt.
If the user is not currently searching history (see isSearchingHistory), this function does nothing.