tiny.mprompt.promptTop
Defined in tiny.mprompt.
Returns the calling thread's innermost active prompt, or null when no prompt is active, so a caller finds the innermost prompt its code runs under without being handed it.
Source
Source: lib/mprompt/src/prompt.zig:531
zig
/// Returns the calling thread's innermost active prompt, or null when no prompt is active, so a/// caller finds the innermost prompt its code runs under without being handed it.pub fn promptTop() ?*Prompt { return prompt_top;}Source: lib/mprompt/src/root.zig:83
zig
pub const promptTop = raw.promptTop;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |