test: shutdown demo

This commit is contained in:
Willem Vanhulle committed 2026-10-14 21:27:50 +02:00
1 parent 140bbe0e84
commit b0521193a4
14 files changed
+870 -779

No files matched your search

+1 -2
View File
@@ -159,8 +159,7 @@ struct ForegroundVt {
}
fn active_vt() -> Option<u16> {
let state: VtState =
unsafe { ioctl(stdin(), Getter::<VT_GETSTATE, VtState>::new()) }.ok()?;
let state: VtState = unsafe { ioctl(stdin(), Getter::<VT_GETSTATE, VtState>::new()) }.ok()?;
Some(state.active)
}