|
|
@ -22,50 +22,48 @@ int main(void){
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_REVERSE);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_UNDERCURL);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ reverse");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ undercurl");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_UNDERLINE);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_UNDERLINE);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ underline");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ underline");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BLINK);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ blink");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_BOLD);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_BOLD);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic bold");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic bold");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_REVERSE);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic reverse");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_UNDERLINE);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic underline");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_UNDERCURL);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_UNDERCURL);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic undercurl");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic undercurl");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_BLINK);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_UNDERLINE);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic blink");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic underline");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_STRUCK);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic struck");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_STRUCK);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_ITALIC | NCSTYLE_STRUCK);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic struck");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ italic struck");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_BOLD);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_BOLD);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck bold");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck bold");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_REVERSE);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck reverse");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERLINE);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck underline");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERCURL);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERCURL);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck undercurl");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck undercurl");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_BLINK);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERLINE);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck blink");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck underline");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_REVERSE);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold reverse");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERLINE);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold underline");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERCURL);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERCURL);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold undercurl");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold undercurl");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_BLINK);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERLINE);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold blink");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold underline");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_REVERSE | NCSTYLE_UNDERLINE |
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERCURL | NCSTYLE_ITALIC);
|
|
|
|
NCSTYLE_BLINK | NCSTYLE_ITALIC | NCSTYLE_STRUCK);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold undercurl italic");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ whoomp! there it is");
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERLINE | NCSTYLE_ITALIC);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_REVERSE | NCSTYLE_UNDERCURL |
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold underline italic");
|
|
|
|
NCSTYLE_BLINK | NCSTYLE_ITALIC | NCSTYLE_STRUCK);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERCURL | NCSTYLE_ITALIC);
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ whoomp! there it curls");
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck undercurl italic");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERLINE | NCSTYLE_ITALIC);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck underline italic");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERCURL | NCSTYLE_BOLD);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck undercurl bold");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_STRUCK | NCSTYLE_UNDERLINE | NCSTYLE_BOLD);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ struck underline bold");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERLINE | NCSTYLE_ITALIC | NCSTYLE_STRUCK);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold underline italic struck");
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_UNDERCURL | NCSTYLE_ITALIC | NCSTYLE_STRUCK);
|
|
|
|
|
|
|
|
ncplane_putstr_yx(n, y++, 0, "a ═ bold undercurl italic struck");
|
|
|
|
|
|
|
|
|
|
|
|
ncplane_set_styles(n, NCSTYLE_NONE);
|
|
|
|
ncplane_set_styles(n, NCSTYLE_NONE);
|
|
|
|
if(notcurses_render(nc)){
|
|
|
|
if(notcurses_render(nc)){
|
|
|
|