SETTING term=XTERM (#185)

https://github.com/PowerShell/Win32-OpenSSH/issues/252
This commit is contained in:
bagajjal 2017-07-18 20:00:13 -07:00 committed by Manoj Ampalam
parent 69ede6fef2
commit eb8cf61ccf
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ wmain(int argc, wchar_t **wargv) {
if (getenv("SSH_AUTH_SOCK") == NULL)
_putenv("SSH_AUTH_SOCK=\\\\.\\pipe\\openssh-ssh-agent");
if (getenv("TERM") == NULL)
_putenv("TERM=xterm");
w32posix_initialize();
r = main(argc, argv);