This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Shell 3.3.3! |
Mouse Handling
You can subscribe into all mouse events:
eventLoop.mouseEvents().subscribe((MouseEvent event) -> {
// do something with mouse event
});
MouseEvent
is a record wrapping x and Y coordinates and
org.jline.terminal.MouseEvent
from JLine library.