Re: Multiline editing breaks if the previous output doesn't end in newli
From:
Alex fxmbsw7 Ratchev
Subject:
Re: Multiline editing breaks if the previous output doesn't end in newline
Date:
Mon, 31 Oct 2022 18:14:29 +0100
where the cursor is ? some tput ansi code returns it .. but i guess u mean
bigger compatibility problems
does, readline, export its cursor assumptations ? like for dev'ing
On Mon, Oct 31, 2022, 16:46 Chet Ramey <chet.ramey@case.edu> wrote:
> On 10/30/22 9:40 PM, Oğuz wrote:
>
> > Yeah, or add a new prompt sequence (e.g. \N) that prints a newline only
> if
> > the cursor is not at column 0.
>
> There is no portable way to determine this.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>
>
>