Skip to content

Releases: zakaria-chahboun/cute

cute v1.2.0

19 Oct 20:45
Compare
Choose a tag to compare

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üß | 甜的 | 甘い | मीठा | حلو | 🍬")

support unicode

cute v1.1.0

17 Oct 23:46
Compare
Choose a tag to compare

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()

print list with colors


How you can use cute with Scan?
https://github.com/zakaria-chahboun/cute#how-you-can-use-it-with-scan