On 06/11/2023, Antonio Diaz Diaz <anto...@gnu.org> wrote:
> Zeke Williams wrote:
>> Would there be any additional gotchas (Other than it won't work with
>> non-ANSI terminals) to using "\x1B[A\r\x1B[J" to work around so to
>> speak not using ncurses

> So I guess the proposed "\x1B[A\r\x1B[J" may work for ed.

Is \r enough to obtain the effect? It would be a bit more... purist,
but I wouldn't encode ANDI escape seuqnces into ed if it can be
avoided.

    M

Reply via email to