diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-13 04:05:33 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-13 04:05:33 +0200 |
commit | ef8dd33eddb91276493d8e077903cb7f8d87b1f1 (patch) | |
tree | c76a8fe03fad5b15c4ce33ff8041a6ccc5b74fcc | |
parent | 3f2e61649237bf476a9e71dd5b85de353e3ccd48 (diff) | |
download | ponymap-ef8dd33eddb91276493d8e077903cb7f8d87b1f1.tar.gz ponymap-ef8dd33eddb91276493d8e077903cb7f8d87b1f1.tar.xz ponymap-ef8dd33eddb91276493d8e077903cb7f8d87b1f1.zip |
Use bold mode instead of standout
-rw-r--r-- | ponymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,7 +75,7 @@ init_terminal (void) // Make sure all terminal features used by us are supported if (!set_a_foreground || !orig_pair - || !enter_standout_mode || !exit_standout_mode + || !enter_bold_mode || !exit_attribute_mode || !carriage_return || !cursor_left || !clr_eol) { del_curterm (cur_term); @@ -141,12 +141,12 @@ print_bold (FILE *stream, const char *s) terminal_printer_fn printer = get_terminal_printer (stream); if (printer) - tputs (enter_standout_mode, 1, printer); + tputs (enter_bold_mode, 1, printer); fputs (s, stream); if (printer) - tputs (exit_standout_mode, 1, printer); + tputs (exit_attribute_mode, 1, printer); } // --- Application data -------------------------------------------------------- |