On Mon 21 Sep 2020 at 12:16:53 (+1000), David wrote:
> On Mon, 14 Sep 2020 at 21:56, Greg Wooledge <wool...@eeg.ccf.org> wrote:
> 
> > There are many ways to work around it.  My preferred way is to clear
> > the screen with Ctrl-L (ESC Ctrl-L for me, because I use bash in vi
> > mode).  That will redraw the shell prompt and the partially typed
> > command after clearing the screen, and allow you to continue typing.
> 
> Thank you very much for that advice. I was not aware that bash
> "clear-screen" has the feature of repainting the partially typed
> command. This exactly addresses what was causing my concern, so I am
> less troubled by this now.

BTW, I failed to point out earlier that Ctrl-L is a safer workaround
than Ctrl-U Enter Ctrl-Y for one other reason: Ctrl-L is not adjacent
to the Enter key. You might say "but neither is Ctrl-U", but actually
it is—it's adjacent to Ctrl-J (≡ Enter).

Cheers,
David.

Reply via email to