mirror of
https://git.2ki.xyz/spiders/kijetesantakaluotokieni.git
synced 2024-11-24 18:50:25 +01:00
removed unused formatters
This commit is contained in:
parent
c4df243088
commit
8a87fd333f
1 changed files with 0 additions and 6 deletions
|
@ -3,10 +3,7 @@ pub enum Formats {
|
|||
Bright,
|
||||
Dim,
|
||||
Italic,
|
||||
Underline,
|
||||
Blink,
|
||||
Reverse,
|
||||
Strike,
|
||||
}
|
||||
|
||||
// outputs a code to reset all formatting. equivalent to Formats::Plain.escape(false)
|
||||
|
@ -21,10 +18,7 @@ impl Formats {
|
|||
Formats::Bright => 1,
|
||||
Formats::Dim => 2,
|
||||
Formats::Italic => 3,
|
||||
Formats::Underline => 4,
|
||||
Formats::Blink => 5,
|
||||
Formats::Reverse => 7,
|
||||
Formats::Strike => 9,
|
||||
};
|
||||
if code == 0 {
|
||||
// you can't disable plain
|
||||
|
|
Loading…
Reference in a new issue