MCPcopy Index your code
hub / github.com/codeaashu/claude-code / needsBidi

Function needsBidi

src/ink/bidi.ts:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27let needsSoftwareBidi: boolean | undefined
28
29function needsBidi(): boolean {
30 if (needsSoftwareBidi === undefined) {
31 needsSoftwareBidi =
32 process.platform === 'win32' ||
33 typeof process.env['WT_SESSION'] === 'string' || // WSL in Windows Terminal
34 process.env['TERM_PROGRAM'] === 'vscode' // VS Code integrated terminal (xterm.js)
35 }
36 return needsSoftwareBidi
37}
38
39function getBidi() {
40 if (!bidiInstance) {

Callers 1

reorderBidiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected