Get a sender handle for dispatching events from background tasks.
(&self)
| 118 | |
| 119 | /// Get a sender handle for dispatching events from background tasks. |
| 120 | pub fn sender(&self) -> mpsc::UnboundedSender<Event> { |
| 121 | self.keepalive.clone() |
| 122 | } |
| 123 | |
| 124 | /// Pause stdin polling (call before suspending TUI for a child process). |
| 125 | pub fn pause(&self) { |