Interface TerminalExt

    • Method Detail

      • getProvider

        TerminalProvider getProvider()
        Returns the terminal provider that created this terminal.

        The terminal provider is responsible for creating and managing terminal instances on a specific platform. This method allows access to the provider that created this terminal, which can be useful for accessing provider-specific functionality or for creating additional terminals with the same provider.

        Returns:
        the TerminalProvider that created this terminal, or null if the terminal was created with no provider
        See Also:
        TerminalProvider
      • getSystemStream

        SystemStream getSystemStream()
        Returns the system stream associated with this terminal, if any.

        This method indicates whether the terminal is bound to a standard system stream (standard input, standard output, or standard error). Terminals that are connected to system streams typically represent the actual terminal window or console that the application is running in.

        Returns:
        the underlying system stream, which may be SystemStream.Input, SystemStream.Output, SystemStream.Error, or null if this terminal is not bound to a system stream
        See Also:
        SystemStream