##// END OF EJS Templates
More tweaks to highlighting colours
More tweaks to highlighting colours

File last commit:

r21934:c0fffd17
r21939:a9ca5b1b
Show More
__init__.py
16 lines | 319 B | text/x-python | PythonLexer
import importlib
import os
aliases = {
'qt4': 'qt'
}
def get_inputhook_func(gui):
if gui in aliases:
return get_inputhook_func(aliases[gui])
if gui == 'qt5':
os.environ['QT_API'] = 'pyqt5'
mod = importlib.import_module('IPython.terminal.pt_inputhooks.'+gui)
return mod.inputhook