summary refs log tree commit diff
path: root/scripts/chroot-prompt.sh
diff options
context:
space:
mode:
authorC. McEnroe2021-02-27 16:28:21 -0500
committerC. McEnroe2021-02-27 16:28:21 -0500
commitf4e8f055fbd0c0237847935ae87dd0a582133203 (patch)
treeca6ff52b9351e743585a6c78727272e1349a189c /scripts/chroot-prompt.sh
parent06fb02549646d26eea438361ebc0b4f0893cf01f (diff)
Add workaround for lack of A_ITALIC in old ncurses
A_BLINK has probably always existed, but there's no good reason to
ever use it, so make it do italics instead. Normally all attributes
are set by a single set_attributes string if it's set, so clear it
to force ncurses to use the reassigned enter_blink_mode string. If
the terminal has no enter_italics_mode string, then nothing will
happen.

This makes setting multiple attributes a bit less efficient, but I
don't think it's likely to make much of a difference since using
multiple attributes at once is so uncommon.
Diffstat (limited to 'scripts/chroot-prompt.sh')
0 files changed, 0 insertions, 0 deletions