chiark / gitweb /
@@@ tty cleanup
[mLib] / ui / ttycolour.h
index 535248f560a28f52d00d856cd917e04227b691b4..0d946ae378429879534198bea08db8915620274a 100644 (file)
@@ -121,19 +121,19 @@ struct ttycolour_style {
  *             this function is to abide by common conventions and to be
  *             convenient for users, these details may change in future.)
  *
- *               * If the `NO_COLOR' environment variable is non-empty, then
+ *               * If the %|NO_COLOR|% environment variable is non-empty,
  *                 colour is disabled (%%\url{https://no-color.org/}%%).
  *
- *               * If the `TERM' variable is set to `dumb', then colour is
- *                 disabled (Emacs).
+ *               * If the %|TERM|% variable is set to %|dumb|%, then colour
+ *                 is disabled (Emacs).
  *
- *               * If the `FORCE_COLOR' environment variable is non-empty,
+ *               * If the %|FORCE_COLOR|% environment variable is non-empty,
  *                 then colour is enabled, unless the value is 0, in which
  *                 case colour is disabled (apparently from the Node
  *                 community, %%\url{%%https://force-color.org/}%% and
  *                 %%\url{https://nodejs.org/api/tty.html#writestreamgetcolordepthenv}%%).
  *
- *               * If the `CLICOLOR_FORCE' environment variable is
+ *               * If the %|CLICOLOR_FORCE|% environment variable is
  *                 non-empty, then colour is enabled (apparently from
  *                 Mac OS, (%%\url{http://bixense.com/clicolors/}%%).
  *
@@ -141,8 +141,8 @@ struct ttycolour_style {
  *
  *               * If the @TCEF_DFLT@ flag is set, then colour is enabled.
  *
- *               * If the `CLICOLOR' environment variable is non-empty, then
- *                 colour is enabled (again, apparently from Mac OS,
+ *               * If the %|CLICOLOR|% environment variable is non-empty,
+ *                 then colour is enabled (again, apparently from Mac OS,
  *                 (%%\url{http://bixense.com/clicolors/}%%).
  *
  *               * Otherwise, colour is disabled.