Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

"select-all, kill" leaves qtconsole in unusable state #1134

Closed
bfroehle opened this Issue · 4 comments

4 participants

@bfroehle

Open up qtconsole and use the keyboard to type select-all, kill (C-A C-k). This gives you an empty window where you can type but enter/return do not work.

Clearing the screen (C-l) does fix it.

@Carreau
Owner

I did have a quick look.

Issues is in console_widget.py around L1050 when killing cursor with the kill ring.

Is there a particular reason to a different implementation for cutting normal (Ctrl+x) versus cutting kill ring (Ctrl+k) except for the rotation part ? Can't the two just call self.cut() (well implemented) and depending on wether kor x is pressed append (or not) to the ring ?

@fperez
Owner

@Carreau, I don't really think so. We don't implement a full-blown emacs-style kill ring with multiple levels, so I don't think there needs to be a difference. Perhaps @epatters has some insights here?

@epatters epatters referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@epatters epatters closed this in cbfb011
@epatters

Actually, we do implement a kill ring with multiple recall ala Emacs. Trying killing several things, then doing C-y followed by M-y.

In any case, this is fixed.

@fperez
Owner
@ellisonbg ellisonbg referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@epatters epatters BUG: Ctrl+K and Ctrl+U shortcuts unsafe in Qt console.
Closes gh-1134.
c811a77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.