Fixing to not drop the isatty check that was there. (cherry picked from commit 241b8af9e81c44a18509112b265c025a85d72ce7)
Fixing to not drop the isatty check that was there.
(cherry picked from commit 241b8af9e81c44a18509112b265c025a85d72ce7)

mister-r/FreeRDP,mister-r/FreeRDP,mister-r/FreeRDP,mister-r/FreeRDP,mister-r/FreeRDP