diff options
author | Eijebong <Eijebong@users.noreply.github.com> | 2017-04-26 15:17:12 (GMT) |
---|---|---|
committer | Xiang Zhang <angwerzx@126.com> | 2017-04-26 15:17:12 (GMT) |
commit | ab7886b78574d9224b26dc3a5b08e5c105fbbf11 (patch) | |
tree | eea5488c157c384333e35d19c8390f87fc54510b /Modules | |
parent | 8ca2f2faefa8dba323a2e4c4b86efb633d7a53cf (diff) | |
download | cpython-ab7886b78574d9224b26dc3a5b08e5c105fbbf11.zip cpython-ab7886b78574d9224b26dc3a5b08e5c105fbbf11.tar.gz cpython-ab7886b78574d9224b26dc3a5b08e5c105fbbf11.tar.bz2 |
bpo-30101: Add support for curses.A_ITALIC. (#1015)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_cursesmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 8f0a12b..f278268 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -3335,6 +3335,9 @@ PyInit__curses(void) SetDictInt("A_BLINK", A_BLINK); SetDictInt("A_DIM", A_DIM); SetDictInt("A_BOLD", A_BOLD); +#ifdef A_ITALIC + SetDictInt("A_ITALIC", A_ITALIC); +#endif SetDictInt("A_ALTCHARSET", A_ALTCHARSET); #if !defined(__NetBSD__) SetDictInt("A_INVIS", A_INVIS); |