diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-07 12:38:34 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-07 12:38:34 -0300 |
commit | eb00f2993a1aaaba171ad6c918656552f80bb748 (patch) | |
tree | 5e61200ed707e02b76c337cb9107aa5f1eaa8898 /src/util/cli.js | |
parent | 6889c764caef5542ba9ad8362acf6e8b7b879ea9 (diff) |
data: import Thing.common utilities directly
Also rename 'color' (from #cli) to 'colors'.
Diffstat (limited to 'src/util/cli.js')
-rw-r--r-- | src/util/cli.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/cli.js b/src/util/cli.js index e8c8c79f..9f2b35ab 100644 --- a/src/util/cli.js +++ b/src/util/cli.js @@ -17,7 +17,7 @@ export const ENABLE_COLOR = const C = (n) => ENABLE_COLOR ? (text) => `\x1b[${n}m${text}\x1b[0m` : (text) => text; -export const color = { +export const colors = { bright: C('1'), dim: C('2'), normal: C('22'), |