Conversation
|
I tried using the binaries in V2.0.0 and still was getting the same error as reported by @nimrossum in #9 . It looks like there was some misunderstanding as the program was building fine, but would not run. The problem is this line: markdown-flashcards/internal/utils.go Line 26 in be6b4c3 Not exactly sure why stdin doesn't work, I think it's something to do with the handle for stdin not being a file descriptor on windows or something? anyways there's an issue talking about it here: I was able to get the program to run by changing those occurrences of os.Stdin.Fd() to os.Stdout.Fd() on my windows machine. |
|
second this! I had issues getting the application to run on windows inside of MINGW64 (git bash terminal) after trying out the suggested solution it worked like a charm! sadly I'm not too familiar with go, so can't say anything about the correctness of the fix but the result looks fine. Have a nice day :) |
|
Thank you for the PR! I was not able to test it under Windows, so thank you. Just checked out your branch and adapted my test file a bit and seems to still work fine on Linux. Will merge and release a patch version. |
replace all occurrences of os.Stdin.Fd() with os.Stdout.Fd()