ansi-terminal-game

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2dd638efa48ceb3c96bf146f86ca730ee8ee47e8
parent eed3c4ea8c22f4c1bf20c7cf2699f5e3377ef3d6
Author: Francesco Ariis <fa-ml@ariis.it>
Date:   Thu, 22 Dec 2022 14:23:52 +0100

Clarify non-standard colors documentation

Diffstat:
Msrc/Terminal/Game.hs | 16+++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/Terminal/Game.hs b/src/Terminal/Game.hs @@ -101,11 +101,6 @@ module Terminal.Game ( -- * Running Color(..), ColorIntensity(..), color, bold, invert, - -- Non-standard colors - rgbColor, paletteColor, - S.sRGB24, S.sRGBBounded, S.sRGB, S.sRGB24read, - xterm6LevelRGB, xterm24LevelGray, xtermSystem, - -- *** Alternative origins -- $origins (%^>), (%.<), (%.>), @@ -122,6 +117,17 @@ module Terminal.Game ( -- * Running -- *** Declarative drawing (|||), (===), (***), hcat, vcat, + -- *** Non-standard colors + -- | Non-standard RGB and xterm colors. These are + -- prettier, but work on a minority of terminal + -- emulators/multiplexers. + -- Use them only on your machine or when you are sure + -- of the terminal you are targetting. + + S.Colour, rgbColor, paletteColor, + S.sRGB24, S.sRGBBounded, S.sRGB, S.sRGB24read, + xterm6LevelRGB, xterm24LevelGray, xtermSystem, + -- * Testing GRec, recordGame,