very broken but I dont wanna lose this code
This commit is contained in:
parent
1d59e48a4f
commit
f9b1de720a
2 changed files with 161 additions and 16 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue