goosedb / Monalog

Terminal logs observer
MIT License
16 stars 3 forks source link

Don't need to set outputFd to custom `tty` #5

Closed ShrykeWindgrace closed 7 months ago

ShrykeWindgrace commented 7 months ago

My manual tests indicate that both on Windows and Linux we can (and should) skip setting outputFd.

A default value should work for all out needs; moreover, on windows this setting can corrupt the state of the terminal, some vty configuration steps on windows work only on a stdout-like handle, and we open CONIN$ =)

goosedb commented 7 months ago

fixed