aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-13 04:05:33 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-13 04:05:33 +0200
commitef8dd33eddb91276493d8e077903cb7f8d87b1f1 (patch)
treec76a8fe03fad5b15c4ce33ff8041a6ccc5b74fcc
parent3f2e61649237bf476a9e71dd5b85de353e3ccd48 (diff)
downloadponymap-ef8dd33eddb91276493d8e077903cb7f8d87b1f1.tar.gz
ponymap-ef8dd33eddb91276493d8e077903cb7f8d87b1f1.tar.xz
ponymap-ef8dd33eddb91276493d8e077903cb7f8d87b1f1.zip
Use bold mode instead of standout
-rw-r--r--ponymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ponymap.c b/ponymap.c
index e76c808..0be5239 100644
--- a/ponymap.c
+++ b/ponymap.c
@@ -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 --------------------------------------------------------