Skip to content

KeyboardInterrupt not sent on cli #177

Open
@ikanobori

Description

@ikanobori

My cli at least doesn't do the whole keyboard-interrupt-to-clear-line thing that I've gotten so used to having. I think it's because getkey within curses catches and processes it and it actually has to be raised within the p_key function. This is all speculation since I don't know how either bpython nor curses really works. I attached a diff that fixes the problem for me but not entirely sure if this would break anything else so should be reviewed by someone that actually knows how things work :P.

In case this is system specific issue, I'm running bpython against python 2.6.1 on Mac OS X 10.6.6


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions