diff options
author | June McEnroe <june@causal.agency> | 2021-02-27 16:28:21 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-02-27 16:28:21 -0500 |
commit | f4e8f055fbd0c0237847935ae87dd0a582133203 (patch) | |
tree | ca6ff52b9351e743585a6c78727272e1349a189c /.gitignore | |
parent | Error if hash bound is less than 2 (diff) | |
download | catgirl-f4e8f055fbd0c0237847935ae87dd0a582133203.tar.gz catgirl-f4e8f055fbd0c0237847935ae87dd0a582133203.zip |
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 '')
0 files changed, 0 insertions, 0 deletions