MCPcopy Create free account
hub / github.com/arctic-cli/interface / getTypingDelay

Function getTypingDelay

packages/ui/src/components/typewriter.tsx:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 setStore("cursor", true)
21
22 const getTypingDelay = () => {
23 const random = Math.random()
24 if (random < 0.05) return 150 + Math.random() * 100
25 if (random < 0.15) return 80 + Math.random() * 60
26 return 30 + Math.random() * 50
27 }
28
29 const type = () => {
30 if (i < text.length) {

Callers 1

typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected