From 96d7075eed0b0ab5b00320260d0b97492f52fa22 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 15 May 2024 23:00:13 +0600 Subject: [PATCH] consoleText: remove unused functions --- src/modules/sub/consoleText.js | 35 +--------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/src/modules/sub/consoleText.js b/src/modules/sub/consoleText.js index 34a0915c..014584ae 100644 --- a/src/modules/sub/consoleText.js +++ b/src/modules/sub/consoleText.js @@ -1,49 +1,16 @@ function t(color, tt) { return color + tt + "\x1b[0m" } -export function Reset(tt) { - return "\x1b[0m" + tt -} + export function Bright(tt) { return t("\x1b[1m", tt) } -export function Dim(tt) { - return t("\x1b[2m", tt) -} -export function Underscore(tt) { - return t("\x1b[4m", tt) -} -export function Blink(tt) { - return t("\x1b[5m", tt) -} -export function Reverse(tt) { - return t("\x1b[7m", tt) -} -export function Hidden(tt) { - return t("\x1b[8m", tt) -} - -export function Black(tt) { - return t("\x1b[30m", tt) -} export function Red(tt) { return t("\x1b[31m", tt) } export function Green(tt) { return t("\x1b[32m", tt) } -export function Yellow(tt) { - return t("\x1b[33m", tt) -} -export function Blue(tt) { - return t("\x1b[34m", tt) -} -export function Magenta(tt) { - return t("\x1b[35m", tt) -} export function Cyan(tt) { return t("\x1b[36m", tt) } -export function White(tt) { - return t("\x1b[37m", tt) -}