mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Terminal should sign as xterm-256color (IDEA-118841).
This commit is contained in:
@@ -67,7 +67,7 @@ public class LocalTerminalDirectRunner extends AbstractTerminalRunner<PtyProcess
|
||||
@Override
|
||||
protected PtyProcess createProcess() throws ExecutionException {
|
||||
Map<String, String> envs = new HashMap<String, String>(System.getenv());
|
||||
envs.put("TERM", "xterm");
|
||||
envs.put("TERM", "xterm-256color");
|
||||
EncodingEnvironmentUtil.fixDefaultEncodingIfMac(envs, getProject());
|
||||
try {
|
||||
return PtyProcess.exec(getCommand(), envs, currentProjectFolder());
|
||||
|
||||
Reference in New Issue
Block a user