summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client/game
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-10-09 10:43:20 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-10-09 10:43:20 -0600
commitf6fbffab85acf256c49caed991314058c931cb8f (patch)
treeea490fd7b982f89f6f8c73cce49a155dbf7fda9d /lib/chessh/ssh/client/game
parent639b4ac9dc9ca368a9d924821feab33eca24c66e (diff)
downloadchessh-f6fbffab85acf256c49caed991314058c931cb8f.tar.gz
chessh-f6fbffab85acf256c49caed991314058c931cb8f.zip
add colors to chatssh
Diffstat (limited to 'lib/chessh/ssh/client/game')
-rw-r--r--lib/chessh/ssh/client/game/game.ex2
-rw-r--r--lib/chessh/ssh/client/game/previous_game.ex2
-rw-r--r--lib/chessh/ssh/client/game/promotion.ex4
3 files changed, 1 insertions, 7 deletions
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