Hold a fatal error on the framebuffer and reboot in five minutes rather than exiting, since init's death drops the kernel's panic screen over the cause

This commit is contained in:
flamingcow
2026-08-05 21:46:15 -07:00
parent cd259556d4
commit 6d73221123
4 changed files with 148 additions and 6 deletions
+1
View File
@@ -113,6 +113,7 @@ func watchTouch(w, h int) (*touchState, error) {
state := &touchState{}
go func() {
defer holdPanic()
defer f.Close()
buf := make([]byte, sizeofInputEvent*32)
var rawX, rawY int32