bug-ed
[Top][All Lists]
Advanced

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

Re: A one line change I wish to see by default.


From: Antonio Diaz Diaz
Subject: Re: A one line change I wish to see by default.
Date: Mon, 06 Nov 2023 16:32:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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, which is what vim's version of ex uses to
keep the prompt always at the bottom of the screen with any text from
the file above it? If not, I say this can work out nicely.

GNU ddrescue (which I also maintain) uses this to overwrite the progress status on the screen:

  const char * const up = "\x1B[A";

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

Any suggestions about the name of the command-line option that would be used to enable this behavior?


Regards,
Antonio.



reply via email to

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