KetraTerm
API · DevelopmentAll versions

TerminalShellCapabilities

data class TerminalShellCapabilities @JvmOverloads constructor(val syntax: TerminalShellSyntax = TerminalShellSyntax.PLAIN, val quoting: TerminalShellQuotingPolicy = TerminalShellQuotingPolicy.CONSERVATIVE)

Immutable shell capabilities resolved by the host from authoritative profile metadata before a completion request is created.

The shared completion engine never infers shell behavior from command text or profile ids. Hosts should use PLAIN for shells without a tested lexical and replacement contract, POSIX for the supported POSIX subset, and POWERSHELL for PowerShell.

Constructors

Link copied to clipboard
constructor(syntax: TerminalShellSyntax = TerminalShellSyntax.PLAIN, quoting: TerminalShellQuotingPolicy = TerminalShellQuotingPolicy.CONSERVATIVE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

replacement escaping policy used by candidate sources.

Link copied to clipboard

lexical rules used to resolve the cursor's command segment.