SwingShellSuggestionState

data class SwingShellSuggestionState(val visible: Boolean, val count: Int, val selectedIndex: Int, val anchorColumn: Int, val anchorRow: Int, val selectedSuggestion: SwingShellSuggestion?)

Snapshot of the currently visible shell suggestion popup state.

Constructors

Link copied to clipboard
constructor(visible: Boolean, count: Int, selectedIndex: Int, anchorColumn: Int, anchorRow: Int, selectedSuggestion: SwingShellSuggestion?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

terminal-grid column used as the popup anchor.

Link copied to clipboard

terminal-grid row used as the popup anchor.

Link copied to clipboard
val count: Int

number of retained suggestions.

Link copied to clipboard

selected suggestion index, or -1 when none.

Link copied to clipboard

selected suggestion, or null when no suggestion is selected.

Link copied to clipboard

whether the popup is currently visible.