Releases: zakaria-chahboun/cute
Releases · zakaria-chahboun/cute
cute v1.2.0
- This issue has been fixed: Formatting disorder appears when printing Chinese
Unicode in title box
We supported also a lot of languages and emojis!
// arabic
cute.Println("﴾ الله خالِقُ كُلِّ شيء ﴿")
// frensh
cute.Println("délicieux pain français")
// spanish
cute.Println("¡Hola! español")
// german
cute.Println("ich möchte Kaffee")
// chinese (simplified)
cute.Println("中国的长城")
// chinese (traditional)
cute.Println("中國的長城")
// japanese (hiragana)
cute.Println("進撃の巨人 すばらしい")
// russian
cute.Println("русская литература")
// turkish
cute.Println("türk şarküteri")
// korean
cute.Println("한국라면 맛있다")
// hindi (devanagari)
cute.Println("मसालों की भूमि")
// emoji
cute.Println("✅ 🚀")
// complex
cute.Println("sweet | sucré | süß | 甜的 | 甘い | मीठा | حلو | 🍬")
cute v1.1.0
Simplify color names (e.g):
- from
ColorBlack
,ColorBrightBlack
- to
Black
,BrightBlack
+ New List
You can print a list of lines dynamically! You can also specify the color for each line:
// juice recipe 🧃
list := cute.NewList(cute.BrightBlue, "Yummy Juice!")
list.Add(cute.BrightGreen, "1 avocado 🥑")
list.Add(cute.BrightRed, "4 strawberry 🍓")
list.Addf(cute.White, "%d ML %s", 500, "milk 🥛")
list.Print()
How you can use cute with Scan?
https://github.com/zakaria-chahboun/cute#how-you-can-use-it-with-scan