v0.2.0
-
Fixes
ExTTY
no longer defaults a:name
option for GenServer start_link.
If you relied on the defaultExTTY
name, you will need to pass that or
a different name as the:name
option explicitly and use it
(or the returned pid ofExTTY.start_link/1
) when calling the
functions ofExTTY
:
# Named GenServer {:ok, _pid} = ExTTY.start_link(name: TTY1) ExTTY.send_text(TTY1, "1+1\n") # Unnamed GenServer {:ok, tty} = ExTTY.start_link() ExTTY.send_text(tty, "1+1\n")