Update docs
This commit is contained in:
@@ -4,4 +4,14 @@
|
||||
|
||||
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
|
||||
|
||||
tbd
|
||||
Views have their own default bindings which can be changed.
|
||||
|
||||
You can subscribe into all key events:
|
||||
|
||||
[source, java, indent=0]
|
||||
----
|
||||
include::{snippets}/KeyHandlingSnippets.java[tag=sample]
|
||||
----
|
||||
|
||||
`KeyEvent` is a record containing info about a binding coming out
|
||||
from a terminal.
|
||||
|
||||
@@ -4,4 +4,12 @@
|
||||
|
||||
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
|
||||
|
||||
tbd
|
||||
You can subscribe into all mouse events:
|
||||
|
||||
[source, java, indent=0]
|
||||
----
|
||||
include::{snippets}/MouseHandlingSnippets.java[tag=sample]
|
||||
----
|
||||
|
||||
`MouseEvent` is a record wrapping _x_ and _Y_ coordinates and
|
||||
`org.jline.terminal.MouseEvent` from JLine library.
|
||||
|
||||
Reference in New Issue
Block a user