chiark / gitweb /
Experimental ^K change of behaviour.
authorSimon Tatham <anakin@pobox.com>
Thu, 14 Dec 2023 18:20:24 +0000 (18:20 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 14 Dec 2023 18:50:30 +0000 (18:50 +0000)
commitefef0ef5b2d12e11d0edcc839babe28670300208
tree4d65e8312abf213947dd9d3452047ff27ac741bd
parent5da4b4eb00af880361b0d004f5f0bd32224c5ef3
Experimental ^K change of behaviour.

If you press ^K to delete to end of line and you're in mid-paragraph,
I think not a bad answer is to _insert_ a paragraph break, so that the
text on the next line doesn't unexpectedly wrap.

This is intuitively as close as possible to the behaviour in the
non-auto-wrapping 'me'. The only thing I don't like about it is that
pasting the text back in again with ^Y doesn't delete the line break,
but I haven't thought of a less astonishing answer to that yet.
cursesclient.py