summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/tui.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chessh/ssh/tui.ex')
-rw-r--r--lib/chessh/ssh/tui.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chessh/ssh/tui.ex b/lib/chessh/ssh/tui.ex
index c1c763b..1838fb8 100644
--- a/lib/chessh/ssh/tui.ex
+++ b/lib/chessh/ssh/tui.ex
@@ -103,7 +103,7 @@ defmodule Chessh.SSH.Tui do
def handle_ssh_msg(
{:ssh_cm, connection_handler,
{:pty, channel_id, want_reply?, {_term, width, height, _pixwidth, _pixheight, _opts}}},
- %State{client_pid: client_pid} = state
+ %State{} = state
) do
Logger.debug("#{inspect(state.player_session)} has requested a PTY")
:ssh_connection.reply_request(connection_handler, want_reply?, :success, channel_id)