Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

ESET (nitpicking)

May
15,047
271
With ESET, if the text to be edited extends to a second line (or further) and you Ctrl-C, the text to be edited remains and the new prompt appears on the second line of that text.

1775514233830.webp
 
Let me rephrase for accuracy.

At the command line or in ESET, pressing Ctrl-C places "^C" at the current cursor location and the new prompt appears on the line following that cursor location. If the text to be edited extends beyond one line and the cursor is not in the last line when Ctrl-C is pressed that will lead to the new prompt appearing mixed in with inappropriate text (as in the image in post #1).
 
That's the same kind of thing I'm seeing with ConPTY sessions of TCC in TCMD when I've scrolled the buffer and then press ESC. Any new command input just writes over the contents of the screen buffer. In non-ConPTY sessions, the cursor gets moved to the bottom of the buffer. I think that's what one would want to happen when bailing out of ESET.
 
Let me rephrase for accuracy.

At the command line or in ESET, pressing Ctrl-C places "^C" at the current cursor location and the new prompt appears on the line following that cursor location. If the text to be edited extends beyond one line and the cursor is not in the last line when Ctrl-C is pressed that will lead to the new prompt appearing mixed in with inappropriate text (as in the image in post #1).

I know what you're saying. It's also 20+ year old behavior, and I am not inclined to introduce breaking changes during a beta.
 
That's the same kind of thing I'm seeing with ConPTY sessions of TCC in TCMD when I've scrolled the buffer and then press ESC. Any new command input just writes over the contents of the screen buffer. In non-ConPTY sessions, the cursor gets moved to the bottom of the buffer. I think that's what one would want to happen when bailing out of ESET.

Well -- not remotely the same kind of thing. You're talking about an Esc in a ConPTY session when you've scrolled back in the buffer, and you want it to autoscroll back to the insertion point. Vince is talking about a Ctrl-C when editing a wrapped line in any kind of session (for the last 20+ years), and he wants the exception handler to automagically determine what he was doing at the time of the ^C, and if it was editing a long line, go to the end of that line and do a CR/LF.
 
Back
Top