您可以订阅所有鼠标事件:

eventLoop.mouseEvents().subscribe((MouseEvent event) -> {
	// do something with mouse event
});

MouseEvent是包装 xY 坐标的记录,来自 JLine 库。org.jline.terminal.MouseEvent