Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Use It In Microsoft Windows? #3

Open
zhang-stephen opened this issue Feb 20, 2019 · 4 comments
Open

How To Use It In Microsoft Windows? #3

zhang-stephen opened this issue Feb 20, 2019 · 4 comments

Comments

@zhang-stephen
Copy link

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!

@aminnj
Copy link
Owner

aminnj commented Feb 20, 2019

I don't have a windows machine handy, but you might try #2

@zhang-stephen
Copy link
Author

ok, i will have a try. 🤔

@kangseung
Copy link

I try use this in windows,but test $STY and test $TMUX not work

@Morphlng
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants