MCPcopy Create free account
hub / github.com/Marus/cortex-debug / sanitizeEncodings

Method sanitizeEncodings

src/frontend/rtt_terminal.ts:180–183  ·  view source on GitHub ↗
(obj: RTTConsoleDecoderOpts)

Source from the content-addressed store, hash-verified

178 }
179
180 private sanitizeEncodings(obj: RTTConsoleDecoderOpts) {
181 obj.encoding = getBinaryEncoding(obj.encoding);
182 obj.iencoding = getTextEncoding(obj.iencoding);
183 }
184
185 // If all goes well, this will reset the terminal options. Label for the VSCode terminal has to match
186 // since there no way to rename it. If successful, tt will reset the Terminal options and mark it as

Callers 2

constructorMethod · 0.95
tryReuseMethod · 0.95

Calls 2

getBinaryEncodingFunction · 0.85
getTextEncodingFunction · 0.85

Tested by

no test coverage detected