Show More
@@ -41,12 +41,14 b' def multi_filter_str(flt):' | |||||
41 | log_filters = {'_AndList': 'And', '_OrList': 'Or'} |
|
41 | log_filters = {'_AndList': 'And', '_OrList': 'Or'} | |
42 | log_invert = {'_Invert'} |
|
42 | log_invert = {'_Invert'} | |
43 |
|
43 | |||
44 |
class _DummyTerminal |
|
44 | class _DummyTerminal: | |
45 | """Used as a buffer to get prompt_toolkit bindings |
|
45 | """Used as a buffer to get prompt_toolkit bindings | |
46 | """ |
|
46 | """ | |
47 | handle_return = None |
|
47 | handle_return = None | |
48 | input_transformer_manager = None |
|
48 | input_transformer_manager = None | |
49 | display_completions = None |
|
49 | display_completions = None | |
|
50 | editing_mode = "emacs" | |||
|
51 | ||||
50 |
|
52 | |||
51 | ipy_bindings = create_ipython_shortcuts(_DummyTerminal()).bindings |
|
53 | ipy_bindings = create_ipython_shortcuts(_DummyTerminal()).bindings | |
52 |
|
54 |
General Comments 0
You need to be logged in to leave comments.
Login now