Popularity
1.3
Stable
Activity
0.0
Stable
3
2
1

Monthly Downloads: 2
Programming language: Elixir
License: MIT License
Tags: Miscellaneous    

charm alternatives and similar packages

Based on the "Miscellaneous" category.
Alternatively, view charm alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of charm or a related project?

Add another 'Miscellaneous' Package

README

Charm [UNDER HEAVY DEVELOPMENT]

Use ansi terminal characters to write colors and cursor positions.

Port from @substack

Example




Charm.reset\0

Reset the entire screen, like the /usr/bin/reset command.

Charm.write\1

Charm.write "Nom nom nom"

Pass along msg to the output stream.

Charm.position\2

Set the cursor position to the absolute coordinates x, y.

Charm.display\1

Charm.display :bright

Set the display mode with the atom defined in IO.ANSI.

Charm.foreground\1

Charm.foreground :blue

Set the foreground color with the atom :color, which can be:

  • :red
  • :yellow
  • :green
  • :blue
  • :cyan
  • :magenta
  • :black
  • :white

Charm.background\1

Charm.background :red

Set the background color with the atom :color, which can be:

  • :red
  • :yellow
  • :green
  • :blue
  • :cyan
  • :magenta
  • :black
  • :white

Charm.cursor\1

Set the cursor visibility with a boolean.

Charm.cursor true

install

With hex do: