Skip to content

Commit

Permalink
Prep for 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hlship committed Mar 27, 2023
1 parent 76debd8 commit f4844b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.4 -- UNRELEASED
## 1.4 -- 27 Mar 2023

A new function, `io.aviso.ansi/compose` uses a [Hiccup](https://github.com/weavejester/hiccup)-inspired
syntax to make composing text with ANSI fonts (foreground and background colors, inverse, bold, and
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3
1.4
8 changes: 4 additions & 4 deletions docs/ansi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ For each of the supported colors (black, red, green, yellow, blue, magenta, cyan

* *color* - function to set text color
* *color*-bg - function to set background color
* bright-*color* - function to set enable bold text and the text color
* bright-*color*-bg - function to enable bold text and the background color
* bright-*color* - function to set enable bright text and the text color
* bright-*color*-bg - function to enable bright text and the background color
* *color*-font - constant that enables the text color
* *color*-bg-font - constant that enables the color as background
* bright-*color*-font - constant that enables the text color in bold
* bright-*color*-bg-font - constant that enables the bold color as background
* bright-*color*-font - constant that enables the text color in bright
* bright-*color*-bg-font - constant that enables the bright color as background

The functions are passed a string and wrap the string with ANSI codes to enable an ANSI graphic representation for the text, with a reset after the text.

Expand Down

0 comments on commit f4844b8

Please sign in to comment.