Skip to content

Ctrl-C doesn't work to clear a line of input when using wx #122

Closed

Description

@ellisonbg

In previous versions of IPython, you could use Ctrl-C to clear a line of input. This no longer works if GUI event loop integration is running with wx or qt. This is because of how the wx and qt inputhooks handle KeyboardInterrupt. But, this does work in Tk, which means it is possible to fix this issue. We need to investigate and fix.

Activity

  1. takluyver commented on Mar 23, 2011

    @takluyver
    Member

    Confirmed in trunk.

  2. cboos commented on Oct 9, 2011

    @cboos
    Contributor

    For a possible fix for the qt side of this issue, see #815 and in particular 6ab38c6 and fa66348.

  3. added a commit that references this issue on Jul 1, 2013
  4. changed the title [-]Ctrl-C doesn't work to clear a line of input when using wx or qt[/-] [+]Ctrl-C doesn't work to clear a line of input when using wx[/+] on Nov 11, 2014
  5. minrk commented on Nov 11, 2014

    @minrk
    Member

    This is fixed in Qt, not Wx.

  6. Carreau commented on Jul 19, 2016

    @Carreau
    Member

    That should be fixed now that we use PTK.

    Thanks all, please reopen an issue if needed.

  7. modified the milestones: 5.0, wishlist on May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions