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