diff options
author | C. McEnroe | 2021-02-27 16:28:21 -0500 |
---|---|---|
committer | C. McEnroe | 2021-02-27 16:28:21 -0500 |
commit | f4e8f055fbd0c0237847935ae87dd0a582133203 (patch) | |
tree | ca6ff52b9351e743585a6c78727272e1349a189c /LICENSE | |
parent | 06fb02549646d26eea438361ebc0b4f0893cf01f (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 'LICENSE')
0 files changed, 0 insertions, 0 deletions