To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 2a541414 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Fix curses on OS X -- copy this logic from cpython

parent 531c5c55
......@@ -286,6 +286,13 @@ void _m_getsyx(int *yx);
lib = ffi.verify("""
#ifdef __APPLE__
/* the following define is necessary for OS X 10.6+; without it, the
Apple-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python
can't get at the WINDOW flags field. */
#define NCURSES_OPAQUE 0
#endif
#include <ncurses.h>
#include <panel.h>
#include <term.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment