Core Module
To use this module in your project. You need to add the following repository and dependencies to your project via Gradle or Maven.
Terminal instances
With Terminal.auto()
a new terminal instance will be created and set by automatically provider. There are two types of providers that can be selected automatically. The native provider, which can only be executed natively, and the non-native provider, which is selected for a system without native support. All created instances have their own properties and retain these for the entire runtime and can be changed as desired.
You can create a terminal instance with Terminal.create(provider type...)
and set with Terminal.set(instance...)
. Old instances can also be reinstated, but only one instance can be active.
Example
All standard providers: NativeTerminalProvider, NonNativeTerminalProvider