MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / onResize

Function onResize

src/cli/ui.tsx:251–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249 }, []);
250 const pushStreaming = useCallback((text: string) => {
251 streamPendingRef.current = text;
252 if (streamTimerRef.current === null) {
253 streamTimerRef.current = setTimeout(flushStreaming, 50);
254 }
255 }, [flushStreaming]);
256 const clearStreaming = useCallback(() => {
257 if (streamTimerRef.current !== null) {
258 clearTimeout(streamTimerRef.current);
259 streamTimerRef.current = null;
260 }
261 streamPendingRef.current = null;
262 setStreamingText('');
263 }, []);
264
265 // Initialize agent
266 useEffect(() => {

Callers

nothing calls this directly

Calls 2

didShrinkFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected