diff options
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 |