use correct escape sequence

This commit is contained in:
Daylin Morgan 2024-01-28 23:23:04 -06:00
parent cb7f743205
commit e246856ddb
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
1 changed files with 1 additions and 1 deletions

View File

@ -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});