我想使用Notty,所以我一直在研究“基本”仓库。
所以我下载basics_wow.ml
:
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
我将其放入终端机:ocamlbuild -pkg notty -pkg notty.unix basics_wow.native
。然后我尝试运行它:./basics_wow.native
但是,而不是哇!哇!我得到这个:
我怎么得到哇!哇!?
目前看来这是不可能的。看到这个问题
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句