MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / pause

Method pause

crates/openshell-tui/src/event.rs:125–127  ·  view source on GitHub ↗

Pause stdin polling (call before suspending TUI for a child process).

(&self)

Source from the content-addressed store, hash-verified

123
124 /// Pause stdin polling (call before suspending TUI for a child process).
125 pub fn pause(&self) {
126 self.paused.store(true, Ordering::Relaxed);
127 }
128
129 /// Resume stdin polling (call after child process exits and TUI resumes).
130 pub fn resume(&self) {

Callers 2

handle_shell_connectFunction · 0.80
handle_exec_commandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected