Class ReverseSearchHistory
java.lang.Object
org.aesh.readline.action.mappings.ReverseSearchHistory
- All Implemented Interfaces:
Consumer<InputProcessor>, Action, ActionEvent, SearchAction
Action that searches backward through the command history.
- Author:
- Ståle W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from interface SearchAction
SearchAction.Status -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InputProcessor inputProcessor) Executes this action on the given input processor.voidProcesses an input event with the given action and key.booleanReturns whether this action event should retain focus after processing.name()Returns the name of this action.
-
Method Details
-
name
-
input
Description copied from interface:ActionEventProcesses an input event with the given action and key.- Specified by:
inputin interfaceActionEvent- Parameters:
action- the action that triggered this inputkey- the key action associated with the input
-
keepFocus
public boolean keepFocus()Description copied from interface:ActionEventReturns whether this action event should retain focus after processing.- Specified by:
keepFocusin interfaceActionEvent- Returns:
- true if this event should keep focus
-
accept
-