Skip to content

Ctrl-Enter not working in IPython 7.2 #11557

@csm10495

Description

@csm10495

If I am editing in multi-line mode and move the cursor to not be on the last line, CTRL-Enter no longer seems to execute the whole code block, but rather add a newline.

This worked in IPython 5/6 though doesn't work in 7.2

Example code block (marked cursor location):
image

Tested with IPython 5/6/7.2 on Python 3.7.0

Additional system info (with 7.2):

{'commit_hash': '523ed2fe5',
 'commit_source': 'installation',
 'default_encoding': 'utf-8',
 'ipython_path': 'C:\\Python37\\lib\\site-packages\\IPython',
 'ipython_version': '7.2.0',
 'os_name': 'nt',
 'platform': 'Windows-10-10.0.17134-SP0',
 'sys_executable': 'C:\\Python37\\python.exe',
 'sys_platform': 'win32',
 'sys_version': '3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 '
                '64 bit (AMD64)]'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions