Skip to content

Commit

Permalink
nterm: fixes for bright colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 5, 2024
1 parent 1a766ea commit 285cb5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nterm/src/ansi.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ void parseCSI() {
} else if(n >= 40 && n <= 47) {
terminal.bg = ttyColors[n - 40];
} else if(n >= 90 && n <= 97) {
terminal.fg = ttyColors[n - 83]; // bright
terminal.fg = ttyColors[n - 82]; // bright
} else if(n >= 100 && n <= 107) {
terminal.bg = ttyColors[n - 93];
terminal.bg = ttyColors[n - 92];
} else if(n == 39) { // default foreground
terminal.fg = ttyColors[7];
} else if(n == 49) { // default background
Expand Down

0 comments on commit 285cb5a

Please sign in to comment.