diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-10-04 18:56:35 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-10-04 18:56:35 -0600 |
commit | 882e2c321ff88acac9894b488f1de109758f8f7d (patch) | |
tree | bc779ed8a9b23dc54cf1edd4a40e3396d8781c45 /lib/chessh/ssh/client/client.ex | |
parent | 48dd80dbf745bd0bb0bd0186ad126d74f66b872b (diff) | |
download | chessh-882e2c321ff88acac9894b488f1de109758f8f7d.tar.gz chessh-882e2c321ff88acac9894b488f1de109758f8f7d.zip |
initial prompt
Diffstat (limited to 'lib/chessh/ssh/client/client.ex')
-rw-r--r-- | lib/chessh/ssh/client/client.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chessh/ssh/client/client.ex b/lib/chessh/ssh/client/client.ex index 5a0ea1e..1d33dd2 100644 --- a/lib/chessh/ssh/client/client.ex +++ b/lib/chessh/ssh/client/client.ex @@ -111,7 +111,7 @@ defmodule Chessh.SSH.Client do {:noreply, state} action -> - send(screen_pid, {:input, width, height, action}) + send(screen_pid, {:input, width, height, action, data}) {:noreply, state} end end @@ -172,6 +172,7 @@ defmodule Chessh.SSH.Client do "\eOD" -> :left "\eOC" -> :right "\r" -> :return + "\d" -> :backspace x -> x end end |