summaryrefslogtreecommitdiff
path: root/test/session.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/session.zig')
-rw-r--r--test/session.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/session.zig b/test/session.zig
index d437ecf2..13798753 100644
--- a/test/session.zig
+++ b/test/session.zig
@@ -316,6 +316,14 @@ pub const Session = struct {
return true;
}
+ /// A frame of the host's loop (its tick): what waits for the frame
+ /// after the keys that asked it is done (a picker's preview of the row
+ /// its cursor rests on).
+ pub fn tick(s: *Session) void {
+ pardesOf(s).update(.tick);
+ s.drain();
+ }
+
/// Kinds' jobs and draws held from now on (`hold_jobs`), until
/// `releaseJobs`.
pub fn holdJobs(s: *Session) void {