Skip to main content

method Interface.prototype.getCursorPos

#Interface.prototype.getCursorPos(): CursorPos

Returns the real position of the cursor in relation to the input prompt + string. Long input (wrapping) strings, as well as multiple line prompts are included in the calculations.

Return Type #

你找到了你需要的东西吗?

隐私政策