euv-core 0.52.1

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

/// Async-signal-safe flag set by Unix `SIGWINCH` when the hosting PTY changes dimensions.
pub(crate) static TERMINAL_SIGWINCH_FLAG: AtomicBool = AtomicBool::new(false);

/// Guard ensuring the process-wide Unix `SIGWINCH` signal handler is installed at most once.
#[cfg(unix)]
pub(crate) static TERMINAL_SIGWINCH_INSTALLED: AtomicBool = AtomicBool::new(false);

/// Read end of the non-blocking Unix self-pipe woken by `SIGWINCH` (`-1` when uninitialized).
#[cfg(unix)]
pub(crate) static TERMINAL_SIGWINCH_PIPE_READ: AtomicI32 = AtomicI32::new(UNIX_INVALID_FD);

/// Write end of the non-blocking Unix self-pipe signaled inside `terminal_sigwinch_handler` (`-1` when uninitialized).
#[cfg(unix)]
pub(crate) static TERMINAL_SIGWINCH_PIPE_WRITE: AtomicI32 = AtomicI32::new(UNIX_INVALID_FD);