MCPcopy Index your code
hub / github.com/nodejs/node / isCursorAtInputEnd

Function isCursorAtInputEnd

lib/internal/repl/utils.js:172–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170 }
171
172 function isCursorAtInputEnd() {
173 const { cursorPos, displayPos } = getPreviewPos();
174 return cursorPos.rows === displayPos.rows &&
175 cursorPos.cols === displayPos.cols;
176 }
177
178 const clearPreview = (key) => {
179 if (inputPreview !== null) {

Callers 2

clearPreviewFunction · 0.85
showPreviewFunction · 0.85

Calls 1

getPreviewPosFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…