bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiline editing breaks if the previous output doesn't end in newli


From: Oğuz
Subject: Re: Multiline editing breaks if the previous output doesn't end in newline
Date: Mon, 31 Oct 2022 06:43:53 +0200

31 Ekim 2022 Pazartesi tarihinde Greg Wooledge <greg@wooledge.org> yazdı:
>
> There's no 100% portable way to determine where the cursor is.


Pity


> Shells like zsh that show a special symbol in these cases use a hack
> to do so.  There's a good explanation in this answer:
>
> https://unix.stackexchange.com/questions/167582/why-zsh-
> ends-a-line-with-a-highlighted-percent-symbol#answer-302710
>

Thanks for the link. The hack is clever but the result is ugly. I'd much
prefer the current behavior of bash.


-- 
Oğuz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]