ExTermbox.Initializer (ExTermbox v1.1.2)
View SourceHandles the initial setup and supervision of Termbox resources.
Summary
Functions
Handles a single line received via PTY during the initialization handshake.
Functions
Handles a single line received via PTY during the initialization handshake.
Takes the line and the current PortHandler state.
Returns:
{:cont, new_state}
: If the handshake should continue to the next stage.{:socket_ready, socket, new_state}
: If the handshake is complete and the socket is connected.{:halt, {:stop, reason, new_state}}
: If the handshake failed irrecoverably.