Skip to main content

qframe/runtime/
mod.rs

1//! Running applications: the [`App`] trait, [`Command`]s, the terminal [`Runtime`] and the
2//! test [`Harness`].
3
4mod app;
5#[cfg(test)]
6mod burst_rules;
7#[cfg(test)]
8mod click_count_rules;
9mod clipboard;
10#[cfg(test)]
11mod clipboard_claim_rules;
12mod command;
13mod confirm;
14mod debug;
15mod detached;
16#[cfg(test)]
17mod detached_rules;
18mod engine;
19#[cfg(test)]
20mod focus_action_rules;
21mod follow;
22#[cfg(test)]
23mod follow_rules;
24#[cfg(unix)]
25mod foreground;
26mod frame_limit;
27mod graphics_probe;
28pub(crate) mod handoff;
29mod harness;
30#[cfg(feature = "image")]
31mod kitty;
32#[cfg(all(test, feature = "image"))]
33mod kitty_rules;
34#[cfg(test)]
35mod layer_rules;
36#[cfg(test)]
37mod lifecycle_rules;
38mod live_child;
39#[cfg(test)]
40mod locale_rules;
41#[cfg(test)]
42mod map_rules;
43mod open;
44#[cfg(test)]
45mod open_rules;
46mod present;
47mod process;
48#[cfg(test)]
49mod release_rules;
50mod selection;
51mod selection_menu;
52#[cfg(test)]
53mod selection_rules;
54#[cfg(all(test, target_os = "linux"))]
55mod signal_rules;
56#[cfg(unix)]
57mod signals;
58#[cfg(not(unix))]
59#[path = "signals_other.rs"]
60mod signals;
61#[cfg(feature = "image")]
62mod sixel;
63#[cfg(all(test, feature = "image"))]
64mod sixel_measure;
65#[cfg(all(test, feature = "image"))]
66mod sixel_rules;
67mod task;
68mod terminal;
69mod terminal_clipboard;
70mod termination;
71#[cfg(test)]
72mod termination_rules;
73#[cfg(test)]
74mod toast_rules;
75#[cfg(feature = "updates")]
76mod update_check;
77
78pub use app::App;
79pub use clipboard::ClipboardEvent;
80pub use command::Command;
81pub use confirm::Confirm;
82pub use detached::{DetachedHandoff, DetachedOutcome};
83pub use frame_limit::FrameLimit;
84pub use handoff::{Handoff, HandoffOutcome, HandoffRequest};
85pub use harness::{Harness, html_page};
86pub use live_child::{ChildLine, LiveChild, TestChild};
87pub use open::{Open, OpenOutcome, OpenRequest};
88pub use process::{Collected, Keep, Line, Process, ProcessOutcome};
89pub use task::{RecvWait, Task, TaskCx, TaskEntry, TaskEvent, TaskId, TaskOutcome, Tasks};
90pub use terminal::Runtime;
91pub use termination::Termination;
92#[cfg(feature = "updates")]
93pub use update_check::{Update, UpdateCheck, UpdateCheckRequest};
94
95// A clipboard answer and a program's own copy offer are the same base64, so the terminal's
96// notices read this decoder instead of keeping a second one.
97#[cfg(feature = "pty")]
98pub(crate) use clipboard::decode_base64;
99pub(crate) use selection::{CopyKind, MULTI_PRESS};