1
0
mirror of https://github.com/fatih/color.git synced 2024-11-24 08:02:14 +02:00

renaming the Reset names

This commit is contained in:
Greg Poirson 2023-10-16 21:11:05 -03:00
parent c949fee4aa
commit c211ac1e43

View File

@ -66,24 +66,24 @@ const (
)
const (
ResetBoldFaint Attribute = iota + 22
ResetBold Attribute = iota + 22
ResetItalic
ResetUnderline
ResetBlinkSlow
ResetBlinkRapid
ResetReverseVideo
ResetBlinking
_
ResetReversed
ResetConcealed
ResetCrossedOut
)
var mapResetAttributes map[Attribute]Attribute = map[Attribute]Attribute{
Bold: ResetBoldFaint,
Faint: ResetBoldFaint,
Bold: ResetBold,
Faint: ResetBold,
Italic: ResetItalic,
Underline: ResetUnderline,
BlinkSlow: ResetBlinkSlow,
BlinkRapid: ResetBlinkRapid,
ReverseVideo: ResetReverseVideo,
BlinkSlow: ResetBlinking,
BlinkRapid: ResetBlinking,
ReverseVideo: ResetReversed,
Concealed: ResetConcealed,
CrossedOut: ResetCrossedOut,
}