showShellSuggestions

fun showShellSuggestions(suggestions: List<SwingShellSuggestion>, anchorColumn: Int, anchorRow: Int, selectedIndex: Int = 0)

Shows host-provided shell suggestions near a terminal-grid cell.

The reusable Swing terminal only presents the suggestions. Accepted suggestions are delivered to SwingHostServices.shellSuggestionHandler so the host/provider can apply command-line replacement semantics.

If SwingSettings.shellSuggestionsEnabled is false or suggestions is empty, the current popup is hidden.

Parameters

suggestions

suggestions to display.

anchorColumn

visible terminal-grid column used as the popup anchor.

anchorRow

visible terminal-grid row used as the popup anchor.

selectedIndex

initially selected suggestion index.