very broken but I dont wanna lose this code

This commit is contained in:
Jeeves 2024-04-06 13:28:16 -06:00
parent 1d59e48a4f
commit f9b1de720a
2 changed files with 161 additions and 16 deletions

View file

@ -742,6 +742,7 @@ pub const String = enum {
}
pub fn default(self: String) ?[]const u8 {
// TODO: add more from https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
return switch (self) {
.enter_bold_mode => "\x1b[1m",
.enter_dim_mode => "\x1b[2m",