From 882e2c321ff88acac9894b488f1de109758f8f7d Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 4 Oct 2023 18:56:35 -0600 Subject: initial prompt --- lib/chessh/ssh/client/client.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/chessh/ssh/client/client.ex') 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 -- cgit v1.2.3-70-g09d2