Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 627 Bytes

File metadata and controls

21 lines (15 loc) · 627 Bytes

Key Handling

Views have their own default bindings which can be changed.

You can subscribe into all key events:

link:../../../../../src/test/java/org/springframework/shell/docs/KeyHandlingSnippets.java[role=include]

KeyEvent is a record containing info about a binding coming out from a terminal.

Some views allow you to register hot keys which are processed before normal key handling. More about this can be found from Register Bindings.