Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ctrl-z does not suspend to background in debugger #10254
I'm using IPython 5.2.2 under Ubuntu and within ipdb, ctrl-z no longer suspends the process.
It looks like the problem is that in terminal/debugger.py, the call to create_prompt_application is not passing enable_system_bindings=True, so prompt_toolkit is not enabling the shortcut ctrl-z -> suspend process.
Would it be possible to have system bindings enabled? From the prompt toolkit source it looks like this simply enabled ctrl-z on systems which support suspending the process. The only other side effects I see are applicable only in emacs and vi modes (where other system shortcuts are enabled).