Skip to content

Commit

Permalink
Force Terminal to support the bold and bright colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyring committed Jan 15, 2021
1 parent cc8140d commit 5890ec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -53,11 +53,12 @@ However _CoreFreq_ is making use of the virtualized performance counter :

**c-** Rendering

The UI renders best with an ASCII 7-Bit console or Xterm with VT100 and ANSI **colors**, **bold** and **bright** support
The UI renders best with an ASCII console or a Xterm with VT100 support and ANSI **colors**
If **bold** and **bright** colors are not rendered then use the following terminal options:
#### Ubuntu Terminal
In the Preferences - Colors tab, select `Show bold text in bright colors`
#### alacritty terminal
Uncomment and set `draw_bold_text_with_bright_colors: true`
Uncomment and set `draw_bold_text_with_bright_colors: true` in `<config-file>`

### Dependencies
* The Linux Kernel with a minimum version 3.3
Expand Down
2 changes: 1 addition & 1 deletion corefreq-ui.c
Expand Up @@ -1849,7 +1849,7 @@ unsigned int FuseAll(char stream[], SCREEN_SIZE drawSize)
stream[sdx++] = '[';
stream[sdx++] = '0' + fa->bf;
stream[sdx++] = ';';
stream[sdx++] = '3';
stream[sdx++] = fa->bf ? '9' : '3';
stream[sdx++] = '0' + fa->fg;
stream[sdx++] = ';';
stream[sdx++] = '4';
Expand Down

0 comments on commit 5890ec7

Please sign in to comment.