aboutsummaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/cli.ex
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2022-12-31 02:29:38 -0700
committerSimponic <loganhunt@simponic.xyz>2022-12-31 02:31:58 -0700
commit58d0b1a89c461467c9ea6229f9a6b3d5ed573da5 (patch)
treef0e91ce7bccb93e755357395f1ed7a7a18d6257b /lib/chessh/ssh/cli.ex
parent3308036c0859dcca2d80d80396a19a3cca269e78 (diff)
downloadchessh-58d0b1a89c461467c9ea6229f9a6b3d5ed573da5.tar.gz
chessh-58d0b1a89c461467c9ea6229f9a6b3d5ed573da5.zip
A simple stalling TUI! Also, ensure sessions are counted correctly. Next up, some way of pub-sub across multiple nodes
Diffstat (limited to 'lib/chessh/ssh/cli.ex')
-rw-r--r--lib/chessh/ssh/cli.ex26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/chessh/ssh/cli.ex b/lib/chessh/ssh/cli.ex
deleted file mode 100644
index 71d789b..0000000
--- a/lib/chessh/ssh/cli.ex
+++ /dev/null
@@ -1,26 +0,0 @@
-defmodule Chessh.SSH.Cli do
- @behaviour :ssh_server_channel
-
- def init(_args) do
- {:ok, %{}}
- end
-
- def handle_msg(_message, state) do
- {:ok, state}
- end
-
- def handle_ssh_msg(
- {:ssh_cm, _connection_handler, {:exit_signal, channel_id, _signal, _err, _lang}},
- state
- ) do
- {:stop, channel_id, state}
- end
-
- def handle_ssh_msg(_message, state) do
- {:ok, state}
- end
-
- def terminate(_reason, _state) do
- :ok
- end
-end