commandRecordAt

fun commandRecordAt(x: Int, y: Int): Int

Returns the command record at component coordinates x, y.

Prompt-only rows and rows without command metadata return TerminalShellIntegrationCommandRecord.NONE. This method is intended for Swing event handlers and returns 0 when called off the EDT.

Return

command record id at the coordinate, or 0.

Parameters

x

component x coordinate in pixels.

y

component y coordinate in pixels.