Skip to content

Latest commit

 

History

History
61 lines (55 loc) · 936 Bytes

README.md

File metadata and controls

61 lines (55 loc) · 936 Bytes

❤️ part of the effort for the community https://github.com/Lynet101/Mojo_community-lib

⚠️ Has not been tested, not to use as-is

some console styling

fn main():
    var t=pp_()
    
    t["clr"] #clear screen
    t["fgblack"]
    t["bgwhite"]
    t | "mojo"
    t["fgwhite"]
    t["bgblack"]
    t | "rocks"
    t["reset"]
    t["fgred"]
    t["bold_on"]
    t["slow_blink"]
    t | "!!!"
    t["reset"]
   
    t() #newline
    t | "normal"

doc

bg is background and fg is foreground

t | String(123) for numbers

t() for new line

  • reset reset to default style
  • clr clear the screen
  • bold_on
  • bold_off
  • italic_on
  • italic_off
  • underline_on
  • underline_off
  • slow_blink
  • fast_blink
  • blink_off
  • invert
  • fgblack
  • fgred
  • fgreen
  • fgyellow
  • fgblue
  • fgpurple
  • fgcyan
  • fgwhite
  • bgblack
  • bgred
  • bgreen
  • bgyellow
  • bgblue
  • bgpurple
  • bgcyan
  • bgwhite