diff options
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 993923e5c..3e6597ae9 100644 --- a/changelog.md +++ b/changelog.md @@ -190,6 +190,31 @@ let - Added support for casting between integers of same bitsize in VM (compile time and nimscript). This allow to among other things to reinterpret signed integers as unsigned. + - Pragmas now support call syntax, for example: ``{.exportc"myname".}`` and ``{.exportc("myname").}`` - Custom pragmas are now supported using pragma ``pragma``, please see language manual for details +- Added True Color support for some terminals + Example: +```nim +import colors, terminal + +const Nim = "Efficient and expressive programming." + +var + fg = colYellow + bg = colBlue + int = 1.0 + +enableTrueColors() + +for i in 1..15: + styledEcho bgColor, bg, fgColor, fg, Nim, resetStyle + int -= 0.01 + fg = intensity(fg, int) + +setForegroundColor colRed +setBackgroundColor colGreen +styledEcho "Red on Green.", resetStyle +``` + |