removed extra ; remove m while sending color code (#255)

https://github.com/PowerShell/Win32-OpenSSH/issues/1005
This commit is contained in:
bagajjal 2018-01-16 21:58:44 -08:00 committed by Manoj Ampalam
parent 97b74e8a10
commit 1f636bd8dd
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ SendCharacter(HANDLE hInput, WORD attributes, wchar_t character)
StringCbPrintfExA(Next, SizeLeft, &Next, &SizeLeft, 0, ";%u", Color);
StringCbPrintfExA(Next, SizeLeft, &Next, &SizeLeft, 0, ";%c", 'm');
StringCbPrintfExA(Next, SizeLeft, &Next, &SizeLeft, 0, "%c", 'm');
if (bUseAnsiEmulation && attributes != pattributes)
WriteFile(hInput, formatted_output, (DWORD)(Next - formatted_output), &wr, NULL);