$tcp_on_read
–
Callback pattern mapping for lines ready by tcp_read
$tcp_on_read
defines a mapping of function name to TCP line pattern.
When a line is read by tcp_read
then all patterns are tested against the line.
The functions (i.e. the keys of this array) of matching patterns are called with two arguments:
- session name
- the new line
Links
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $tcp_on_read - probieren Sie es jetzt aus!