requestShellSuggestions

fun requestShellSuggestions(commandText: String, cursorOffset: Int, anchorColumn: Int, anchorRow: Int)

Requests shell suggestions from SwingHostServices.shellSuggestionProvider and shows the returned snapshot near a terminal-grid cell.

Providers run on the Swing Event Dispatch Thread and should return a bounded, already-computed snapshot quickly. Empty provider results hide the current popup.

Parameters

commandText

visible command-line text known to the host.

cursorOffset

UTF-16 cursor offset within commandText.

anchorColumn

visible terminal-grid column used as the popup anchor.

anchorRow

visible terminal-grid row used as the popup anchor.