From f6fbffab85acf256c49caed991314058c931cb8f Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 9 Oct 2023 10:43:20 -0600 Subject: add colors to chatssh --- lib/chessh/ssh/client/client.ex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (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 1d33dd2..ffb4884 100644 --- a/lib/chessh/ssh/client/client.ex +++ b/lib/chessh/ssh/client/client.ex @@ -94,8 +94,6 @@ defmodule Chessh.SSH.Client do def handle( {:data, data}, %State{ - width: width, - height: height, screen_pid: screen_pid, player_session: player_session } = state @@ -111,7 +109,7 @@ defmodule Chessh.SSH.Client do {:noreply, state} action -> - send(screen_pid, {:input, width, height, action, data}) + send(screen_pid, {:input, action, data}) {:noreply, state} end end -- cgit v1.2.3-70-g09d2