-
- All Superinterfaces:
PromptResult<KeyPressPrompt>
- All Known Implementing Classes:
DefaultKeyPressResult
public interface KeyPressResult extends PromptResult<KeyPressPrompt>
Result of a key press prompt. Contains the key that was pressed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetKey()Get the key that was pressed.-
Methods inherited from interface org.jline.prompt.PromptResult
getDisplayResult, getPrompt, getResult
-
-