From e246856ddb16041bc540a81061f98e0fe237c1e7 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 28 Jan 2024 23:23:04 -0600 Subject: [PATCH] use correct escape sequence --- lib/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/default.nix b/lib/default.nix index efb767a..28e205f 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -10,7 +10,7 @@ supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; runes = import ../modules/runes; in rec { - mkRune = {rune, number ? "2", runeKind ? "braille"}: "\e[3${number}m" + runes.${rune}.${runeKind} + "\e[0m"; + mkRune = {rune, number ? "2", runeKind ? "braille"}: "^[[1;3${number}m" + runes.${rune}.${runeKind} + "^[[0m"; forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system});