TextOutcome
Why a wait for text on a pane ended.
Source and package
- Qualified name
-
io.github .libtmux. Text Outcome - Package
- io.github.libtmux
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/TextOutcome.java
-
Description#
Separate from
WakeReason, which answers for a tmux channel, because this wait reads a screen rather than blocking on a signal and so can end a way a channel never does: with the text already there. A pane that has saidreadysince an hour ago must not answer a wait forreadythe way output that just arrived does, and it must not be reported as a timeout either — a caller told only "not found" would go looking for text that is in plain sight.Duration)keepsWakeReason: a caller wrote that condition and can test it before waiting, so the library is not the only thing that can see it was already true.
Members5#
- APPEARED constant The text appeared while the wait was running.
- PANE_GONE constant The pane was killed, or its process exited and closed it, while the wait was running, and the server is still answering.
- PRESENT_AT_ENTRY constant The first look already showed the text, so this wait did not see it arrive.
- SERVER_GONE constant The server went away underneath the wait, so nothing it was guarding can be relied on.
- TIMED_OUT constant The deadline passed with the text absent.