You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "fix headers/body order (#55)" (#74)
This reverts commit e63e657.
The commit above introduced sane-ordering to the terminal output by
prioritizing headers first and then the response body. But unfortunately
it introduces a deadlock in cases where we have no headers to print.
Commands like `curlie` or `curlie -h` will hang.
Sometimes it also causes the program to deadlock even when headers are
present. It probably has something to do with the code failing to
properly detect where the headers' section ends. But this is difficult
to reproduce.
Fixed junk output in windows console. (#29) (#44)
For windows runtime, added originalMode or
ENABLE_VIRTUAL_TERMINAL_PROCESSING in SetConsoleMode, and if case of any
error, disabled color print.