Terminal shell emulation as a process
APACHE-2.0 License
:shell_opts
to be a flat keyword list:dot_iex_path
-> :dot_iex
. The changesshell_opts: [[dot_iex_path: path]]
to shell_opts: [dot_iex: path]
Fixes
ExTTY
no longer defaults a :name
option for GenServer start_link.ExTTY
name, you will need to pass that or:name
option explicitly and use itExTTY.start_link/1
) when calling theExTTY
:# 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")