https://github.com/molnarmark/hostler
A lightweight terminal coloring library for Pony
https://github.com/molnarmark/hostler
pony pony-language ponylang terminal terminal-colors
Last synced: about 2 months ago
JSON representation
A lightweight terminal coloring library for Pony
- Host: GitHub
- URL: https://github.com/molnarmark/hostler
- Owner: molnarmark
- License: mit
- Created: 2017-05-24T20:15:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T20:18:00.000Z (almost 8 years ago)
- Last Synced: 2025-03-06T04:56:36.232Z (about 2 months ago)
- Topics: pony, pony-language, ponylang, terminal, terminal-colors
- Language: Pony
- Size: 1000 Bytes
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hostler
Hostler is a extremely lightweight terminal coloring library for [Pony](http://ponylang.org).
Hostler is a port of [Colorize](http://github.com/molnarmark/colorize) for Nim.# Usage
```pony
actor Main
new create(env: Env) =>
let greetings = Hostler("Greetings, ").>fgYellow().>bold()
let hostler = Hostler("this is Hostler!").>bgLightBlue().>fgBlue().>underline()env.out.print(greetings + hostler)
```# License
- [MIT](https://github.com/molnarmark/hostler/blob/master/LICENSE)