[Toybox] [PATCH] top: hide the cursor in interactive mode.

Rob Landley rob at landley.net
Wed Feb 13 18:32:56 PST 2019


On 2/13/19 4:48 PM, enh via Toybox wrote:
> Matches traditional top.

I've got a todo item to maybe use the \e[?7l thing (ancient DEC escape code to
disable line wrap which apparently still works) to make it easier to print the
lower right corner character. :)

I added the undo (\e[?7h) to the reset command, because qemu text mode serial
console outputs this (most likely it's the Linux kernel doing it, haven't found
it yet), and in _theory_ it's useful for implementing not-curses stuff. In
practice, I already did buckets of careful measuring and truncation to
track/control the current cursor position...

Rob



More information about the Toybox mailing list