Skip to content

details: Only clear screen on VT not serial consoles

Ray Strode requested to merge dont-clear-serial-consoles into main

commit 0e59dde8 changed the details plugin to clear the terminal when first opening it. This was done to prevent duplicate messages from showing up when toggling back and forth between details and graphical splashes.

That has the negative side effect of purging serial console output too though.

This commit adds a check to make sure the terminal is a VT before trying to clear the screen.

Closes: #187 (closed)

Merge request reports