##// END OF EJS Templates
Use appnope in qt and wx gui support from the terminal; closes #6189...
Use appnope in qt and wx gui support from the terminal; closes #6189 On Mavericks, the qt and wx gui support was unusable from the ipython console in a terminal. Using nope() in enable_qt4 and enable_wx, and reversing with nap() in disable_qt4 and disable_wx, solves the problem.

File last commit:

r13582:b21d447e
r17666:fcbbba9e
Show More
__init__.py
15 lines | 333 B | text/x-python | PythonLexer
try:
from appnope import *
except ImportError:
__version__ = '0.0.5'
import sys
import platform
from distutils.version import LooseVersion as V
if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
from _dummy import *
else:
from ._nope import *
del sys, platform, V