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

Windows support doesn't work well #5

Open
Butanium opened this issue Dec 12, 2021 · 1 comment
Open

Windows support doesn't work well #5

Butanium opened this issue Dec 12, 2021 · 1 comment

Comments

@Butanium
Copy link

Butanium commented Dec 12, 2021

I tested your test case on windows using the diskuv ocaml windows install

Here are the results :

tjPwL8AY7V.mp4
  • this test I made using showcolor.ml :
module T = ANSITerminal
let () =

  T.print_string [T.Bold;  T.Foreground T.Red; ] " Bold red ";
  T.print_string [T.Foreground T.Red; T.Underlined] "not Bold red";
  T.print_string [T.Bold] " bold ";

  T.print_string [T.Underlined] "Underlined ";
  T.print_string [T.Blink] "Blink ";
  T.print_string [T.Inverse] "Inverse ";
  T.print_string [T.Hidden] "Hidden";
  print_string "<-- hidden\n"

Returns :
image

I don't know if it can help you, but both tests from your repo fail with exit code 3221225477 in VS Code integrated terminal. However, mine works as in normal cmd terminal

@Chris00
Copy link
Owner

Chris00 commented May 10, 2022

Unfortunately, I do not have access to a Windows machine at the moment. A pull request would be welcome.

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

No branches or pull requests

2 participants