Class ActionMapper

java.lang.Object
org.aesh.readline.action.mappings.ActionMapper

public class ActionMapper extends Object
Maps readline function names to their corresponding action implementations.
Author:
Ståle W. Pedersen
  • Method Details

    • mapToAction

      public static Action mapToAction(String function)
      Maps a readline function name to its corresponding action.
      Parameters:
      function - the readline function name (e.g., "backward-char", "delete-char")
      Returns:
      the action corresponding to the function name, or a no-op action if not found