Dietpi-banner clear screen

Is there an option available to NOT have dietpi-banner clear the screen. Using Windows Terminal (for example) I would like to see previous SSH session for comparison, but dietpi-banner clears the screen on login. I can comment out “G_TERM_CLEAR” in “Print_Banner()” of dietpi-banner but this may be overwritten by new updates. “dietpi-banner 0” is OK but shows less information. Thanks.

I guess a question for @MichaIng :slight_smile:

it could be option 23 in dietpi-banner - “clear screen” ?

Actually, the terminal is not cleared, but content is moved into scrollback buffer, as if you just hit RETURN sufficiently often (which is what the function does with terminal codes).

So in the Windows terminal, when using ssh (I assume), there is no scrollback buffer?

Yes scrollback buffer is present in Windows Terminal, but I would prefer if the screen scroll was under the control of the user. Anyway, it’s a simple edit for me to comment it out. Thanks!