MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / resolve

Function resolve

packages/core/src/cursor/cursorState.ts:72–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 },
71
72 resolve(): CursorState | null {
73 if (lastRequest === null) {
74 // No cursor requests this frame
75 return null;
76 }
77
78 if (lastRequest.kind === "hide") {
79 return {
80 x: -1,
81 y: -1,
82 shape: defaultShape,
83 visible: false,
84 blink: false,
85 };
86 }
87
88 return {
89 x: lastRequest.x,
90 y: lastRequest.y,
91 shape: lastRequest.shape,
92 visible: true,
93 blink: lastRequest.blink,
94 };
95 },
96
97 reset(): void {
98 lastRequest = null;

Callers 15

createDeferredFunction · 0.85
createDeferredFunction · 0.85
resolveInstallCwdFunction · 0.85
printNextStepsFunction · 0.85
isMainModuleEntryFunction · 0.85
resolveTargetNameFunction · 0.85
index.test.tsFile · 0.85
readFixtureFunction · 0.85
pollEventsMethod · 0.85
runIsolatedFunction · 0.85
runIsolatedPtyFunction · 0.85
ratatui-runner.tsFile · 0.85

Calls

no outgoing calls

Tested by 9

createDeferredFunction · 0.68
createDeferredFunction · 0.68
closeServerQuietFunction · 0.68
createMethod · 0.68
onConnMethod · 0.68
onDataMethod · 0.68
onMsgFunction · 0.68
readDemoSourceFunction · 0.68
readScriptSourceFunction · 0.68