fix: set LANG env for PTY to support UTF-8/Unicode in terminal (#1129)
This commit is contained in:
@@ -139,6 +139,7 @@ export function createTerminalRuntime({
|
|||||||
...env,
|
...env,
|
||||||
TERM: 'xterm-256color',
|
TERM: 'xterm-256color',
|
||||||
COLORTERM: 'truecolor',
|
COLORTERM: 'truecolor',
|
||||||
|
LANG: env.LANG || process.env.LANG || 'C.UTF-8',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user