Print the current static lines set by the calling program to this.terminal_output
with a title line showing the current time, runtime, and memory and cpu
usage and a footer line showing the version information.
Check if the size of the terminal has changed and if it has move the
cursor to the end of the terminal.
Print a blank line for each logline and one for the footer. Then print
the footer and move up. Then in reverse order print a line and move the
cursor up. When all the lines have been printed, print the heading line.
Note: This method doesn't do anything if the console output is being
redirected from the command-line.
Print the current static lines set by the calling program to this.terminal_output with a title line showing the current time, runtime, and memory and cpu usage and a footer line showing the version information.
Check if the size of the terminal has changed and if it has move the cursor to the end of the terminal.
Print a blank line for each logline and one for the footer. Then print the footer and move up. Then in reverse order print a line and move the cursor up. When all the lines have been printed, print the heading line.
Note: This method doesn't do anything if the console output is being redirected from the command-line.