This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Shell 3.3.3!spring-doc.cn

Key Handling

Views have their own default bindings which can be changed.spring-doc.cn

You can subscribe into all key events:spring-doc.cn

eventLoop.keyEvents().subscribe((KeyEvent event) -> {
	// do something with key event
});

KeyEvent is a record containing info about a binding coming out from a terminal.spring-doc.cn

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