protected void onSearchInputKeyPress(@Nonnull KeyEvent e) {
		// Clear old searches if there are too many
		while (pastSearches.size() > MAX_HISTORY)
			pastSearches.remove(pastSearches.size() - 1);
	}
Called when {@link #searchInput} keys are pressed.

@param e
		Input key press event.
recaf-ui/src/main/java/software/coley/recaf/ui/control/AbstractSearchBar.java