SwingLiveCompletionBinding
constructor(session: TerminalSession, coroutineScope: CoroutineScope, suggestionsEnabled: () -> Boolean, rankingContextKey: () -> String? = { null }, feedbackHandler: SwingShellSuggestionFeedbackHandler = SwingShellSuggestionFeedbackHandler.NONE)
Creates a live-completion binding for session.
Parameters
session
terminal session that supplies shell and render state.
coroutineScope
caller-owned lifecycle scope used for observation.
suggestionsEnabled
returns whether automatic suggestions are enabled.
rankingContextKey
host context that can change ranking for equal text.
feedbackHandler
host callback for suggestion feedback.