This commit is contained in:
Kovid Goyal
2023-03-23 10:28:56 +05:30
parent f8c83519fe
commit 29a896f9d8
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ func ansi_formatter(w io.Writer, style *chroma.Style, it chroma.Iterator) error
if !entry.IsZero() {
if entry.Bold == chroma.Yes {
before = append(before, '1', ';')
after = append(after, '2', '2', ';')
after = append(after, '2', '2', '1', ';')
}
if entry.Underline == chroma.Yes {
before = append(before, '4', ';')