Skip to content

Commit

Permalink
:ansi module supports now italic font style
Browse files Browse the repository at this point in the history
  • Loading branch information
juerg committed Mar 17, 2024
1 parent 0829cd4 commit 41a8beb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
### Added

- function `zip-folder` to `zipvault`
- support italic font style (module :ansi)



Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/com/github/jlangch/venice/ansi.venice
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
:reset "[0m" ;; reset all styles and colors
:bold "[1m"
:dim "[2m"
:italic "[3m"
:blink-slow "[5m"
:underline "[4m"
:underline-off "[24m"
Expand Down Expand Up @@ -526,6 +527,8 @@
(defn show-decorations []
(println "Font styles")
(print (ansi/style " bold " :bold))
(print (ansi/style " italic " :italic))
(print (ansi/style " dim " :dim))
(print (ansi/style " underline " :underline))
(print (ansi/style " reversed " :reverse))
(println))
Expand Down

0 comments on commit 41a8beb

Please sign in to comment.