Redesign interface event ownership.

This commit is contained in:
Michael Mikovsky
2026-06-01 09:54:37 -06:00
parent 5597ca2fef
commit aa1e9be696
16 changed files with 882 additions and 368 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
use unshell::protocol::{HookID, unshell_leaf};
use crate::{constants::LEAF_FAKE_PTY, session::PtySession};
use crate::{constants::LEAF_FAKE_PTY, procedure::PingProcedure, session::PtySession};
/// User-owned state for the generated fake PTY leaf.
///
@@ -47,6 +47,8 @@ unshell_leaf! {
sessions {
pty: PtySession,
}
procedures {}
procedures {
ping: PingProcedure,
}
}
}