cpptqdm
cpptqdm copied to clipboard
How To Use It In Microsoft Windows?
I tried to compile it by GCC 8.2, but the binary file cannot be executed correctly
My Windows Version is NT 10.0, 64bit, the complier command is following:
> g++ --std=c++11 -o debug.exe test.cpp
Looking forward to your reply! Thanks!
I don't have a windows machine handy, but you might try https://github.com/aminnj/cpptqdm/pull/2
ok, i will have a try. 🤔
I try use this in windows,but test $STY and test $TMUX not work
I'm using MSVC. From my experience, you have to include <io.h> and change isatty
to _isatty
. Also, Windows can't execute test $STY
so I simply set in_screen
to true (in_tmux
to false). This meets what I need (no tmux), and it works fine.