fsh: graphics mode bug fix

This commit is contained in:
minjaesong
2026-05-24 12:27:55 +09:00
parent 26303c63af
commit 054295fdab

View File

@@ -792,6 +792,9 @@ _fsh.launchEntry = function(label, cmd) {
con.curs_set(0) con.curs_set(0)
graphics.setBackground(2,1,3) graphics.setBackground(2,1,3)
graphics.resetPalette() graphics.resetPalette()
// Apps (e.g. zfm) may switch to graphics mode 0; restore mode 3 so the
// clock widget on framebuffer 2 is composited again.
graphics.setGraphicsMode(3)
_fsh.redrawAll() _fsh.redrawAll()
} }