summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client/client.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chessh/ssh/client/client.ex')
-rw-r--r--lib/chessh/ssh/client/client.ex4
1 files changed, 1 insertions, 3 deletions
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