Skip to content

Commit

Permalink
windows terminal: add ESCAPE_NOBOLD
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Aug 5, 2021
1 parent 27f1822 commit 4fa785e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ int prepare_windows_terminal(tinfo* ti, size_t* tablelen, size_t* tableused){
{ ESCAPE_CNORM, "\x1b[?25h", },
{ ESCAPE_U7, "\x1b[6n", },
{ ESCAPE_BOLD, "\x1b[1m", },
{ ESCAPE_NOBOLD,"\x1b[22m", },
{ ESCAPE_SITM, "\x1b[3m", },
{ ESCAPE_RITM, "\x1b[23m", },
{ ESCAPE_SMUL, "\x1b[4m", },
{ ESCAPE_RMUL, "\x1b[24m", },
{ ESCAPE_SMULX, "\x1b[4:3m", },
{ ESCAPE_SMULNOX, "\x1b[4:0m", },
{ ESCAPE_SMULNOX,"\x1b[4:0m", },
{ ESCAPE_SGR0, "\x1b[0m", },
{ ESCAPE_MAX, NULL, }
}, *w;
Expand Down

2 comments on commit 4fa785e

@WSLUser
Copy link

@WSLUser WSLUser commented on 4fa785e Aug 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bold is actually now supported but you'll need Preview version to see it. It's quite nice to see characters popping up bold without making the entire font bold.

@dankamongmen
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bold is actually now supported but you'll need Preview version to see it. It's quite nice to see characters popping up bold without making the entire font bold.

i've definitely seen bold work. maybe i'm running the preview?

Please sign in to comment.