OCaml-Notty-introduction:我关于Notty库的笔记https

时间:2021-05-09 11:48:52
【文件属性】:
文件名称:OCaml-Notty-introduction:我关于Notty库的笔记https
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-09 11:48:52
ocaml ocaml-notty OCaml Ocaml Notty库 介绍 比诅咒/ ncurses好,这里是Notty。 该库以OCaml编写,基于可组合图像的概念。 GitHub上的Notty 文件资料 基本 图像 图像是显示在终端中的矩形,其中包含样式字符。 图像可以是: 具有显示属性的单个字符, 或一些带有显示属性的文本, 或彼此相邻,上方或上方的组合。 构建完成后,可以渲染图像。 基本上,它已转换为我们可以显示的字符串。 打印红色的“哇!” 在其右移副本上方: 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
【文件预览】:
OCaml-Notty-introduction-master
----basics_Term_simple_terminal.ml(519B)
----basics_I_hcropping.ml(425B)
----common.ml(3KB)
----common_lwt.ml(2KB)
----basics_Term_simple_terminal_resize.ml(1KB)
----basics_I_uchar.ml(207B)
----basics_I_vcropping.ml(682B)
----basics_Lwt_Term_simple_terminal_timeout.ml(1KB)
----basics_I_overlay.ml(260B)
----basics_I_side_by_side.ml(260B)
----basics_I_negative_vcropping.ml(717B)
----basics_I_above_another.ml(292B)
----basics_I_string.ml(169B)
----README.md(13KB)
----basics_Lwt_Term_simple_terminal_resize.ml(2KB)
----basics_I_padding.ml(715B)
----basics_I_uchars.ml(346B)
----basics_wow.ml(224B)
----basics_I_char.ml(187B)

网友评论