MCPcopy
hub / github.com/electerm/electerm / parse

Method parse

src/client/components/terminal/terminal.jsx:891–902  ·  view source on GitHub ↗
(rawText)

Source from the content-addressed store, hash-verified

889 }, 1000)
890
891 parse (rawText) {
892 let result = ''
893 const len = rawText.length
894 for (let i = 0; i < len; i++) {
895 if (rawText[i] === '\b') {
896 result = result.slice(0, -1)
897 } else {
898 result += rawText[i]
899 }
900 }
901 return result
902 }
903
904 getCmd = () => {
905 return this.cmdAddon.getCurrentCommand()

Callers 15

getReleaseInfoFunction · 0.80
callToolFunction · 0.80
mcp.spec.jsFile · 0.80
parseSseBodyFunction · 0.80
callToolFunction · 0.80
mcp2.spec.jsFile · 0.80
actionFunction · 0.80
onDropFunction · 0.80
_runBatchOpFromFileMethod · 0.80
handleExecuteFunction · 0.80
getGeneratedDataFunction · 0.80

Calls

no outgoing calls

Tested by 4

callToolFunction · 0.64
parseSseBodyFunction · 0.64
callToolFunction · 0.64
actionFunction · 0.64