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/game/game.ex | 2 -- lib/chessh/ssh/client/game/previous_game.ex | 2 -- lib/chessh/ssh/client/game/promotion.ex | 4 +--- 3 files changed, 1 insertion(+), 7 deletions(-) (limited to 'lib/chessh/ssh/client/game') diff --git a/lib/chessh/ssh/client/game/game.ex b/lib/chessh/ssh/client/game/game.ex index 6103439..e996632 100644 --- a/lib/chessh/ssh/client/game/game.ex +++ b/lib/chessh/ssh/client/game/game.ex @@ -218,8 +218,6 @@ defmodule Chessh.SSH.Client.Game do end def input( - _width, - _height, action, _data, %State{ diff --git a/lib/chessh/ssh/client/game/previous_game.ex b/lib/chessh/ssh/client/game/previous_game.ex index 3582cc9..6f80f6f 100644 --- a/lib/chessh/ssh/client/game/previous_game.ex +++ b/lib/chessh/ssh/client/game/previous_game.ex @@ -54,8 +54,6 @@ defmodule Chessh.SSH.Client.PreviousGame do end def input( - _width, - _height, action, _data, %State{ diff --git a/lib/chessh/ssh/client/game/promotion.ex b/lib/chessh/ssh/client/game/promotion.ex index 693ec3f..d9e9971 100644 --- a/lib/chessh/ssh/client/game/promotion.ex +++ b/lib/chessh/ssh/client/game/promotion.ex @@ -45,9 +45,7 @@ defmodule Chessh.SSH.Client.Game.PromotionScreen do end def input( - _, - _, - _, + _action, data, %State{client_pid: client_pid, game_pid: game_pid, game_state: %Game.State{} = game_state} = state -- cgit v1.2.3-70-g09d2