文件名称:sparkles:Pixie的彩色端子输出
文件大小:61KB
文件格式:ZIP
更新时间:2024-05-19 15:32:55
Python
闪闪发光 用于在终端中格式化文本的库。 现在只有颜色。 用法 ( ns foo.bar ( require sparkles.core :as sparkles)) ( def red ( sparkles/color { :fg :red })) ( def underlined-blue ( sparkles/color { :bg :blue :styles [ :underline ]})) ( println ( red " This is red... " )) ( println ( underlined-blue " This is underlined with a blue background. " )) 给 颜色正确组合: (println (blue "hello" (r
【文件预览】:
sparkles-master
----src()
--------sparkles()
----images()
--------example.png(55KB)
----LICENSE(7KB)
----test()
--------test-core.pxi(3KB)
----project.edn(79B)
----README.md(685B)
----.gitignore(11B)
----logo.pxi(689B)