Skip to content
Snippets Groups Projects
Unverified Commit 0612074a authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Support high intensity colors

Close #671
parent 3bf51d83
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,10 @@ func interpretCode(ansiCode string, prevState *ansiState) *ansiState {
state.fg = num - 30
} else if num >= 40 && num <= 47 {
state.bg = num - 40
} else if num >= 90 && num <= 97 {
state.fg = num - 90 + 8
} else if num >= 100 && num <= 107 {
state.bg = num - 100 + 8
}
}
case 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment