pqwy/notty

Vertical stacking on WSL (Ubuntu subsystem on Windows 10) does not work.

Yam76 opened this issue · 1 comments

Yam76 commented

See this issue.

To repeat:
Given the following code:

open Notty
open Notty_unix

(*
 * ocamlbuild -pkg notty -pkg notty.unix basics_wow.native
 *)
let () =
let wow = I.string A.(fg lightred) "Wow!" in
I.(wow <-> (void 2 0 <|> wow))
|> Notty_unix.eol
|> Notty_unix.output_image

and the following two commands:
ocamlbuild -pkg notty -pkg notty.unix basics_wow.native
./basics_wow.native

I get this image:

Wow!s next to each other instead of above one another

I'm on Windows 10, running this through the terminal for my Ubuntu subsystem.

nnsun commented

I had the same issue but after upgrading to WSL 2, everything seems to be working correctly.