Re: Get Terminal to Echo line in buffer on backspace
On Thu, Sep 02, 2021 at 05:44:33AM +0200, Thomas Anderson wrote:
> Thanks for the insightful replies.
>
> I think I am getting closer to a solution.
>
> Wouldn't it be possible to bind the "redraw-current-line" to the delete
> (ASCII DEL), i.e. Alt 127??
>
> And, just add that to my user's bash file?
It would go in ~/.inputrc by preference. But you *could* wrap it in "bind"
and put it in ~/.bashrc instead, if for some reason you wanted it to be
more complicated, or to be done only in bash and not in other programs
which use readline.
> I am thinking out loud, not sure this would work.
Me either. Try It And See.
Reply to: