summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client
diff options
context:
space:
mode:
authorLizzy Hunt <logan.hunt@usu.edu>2023-02-22 11:44:23 -0700
committerLizzy Hunt <logan.hunt@usu.edu>2023-02-22 11:44:23 -0700
commit2e45ff0a7a1f0804656d07977a23f803eb3b04f7 (patch)
tree6e913d9fb3dd041139fe394f6092a95bafb8abdf /lib/chessh/ssh/client
parent7e8120ad3545785c562a239c2233eb5de5a53237 (diff)
downloadchessh-2e45ff0a7a1f0804656d07977a23f803eb3b04f7.tar.gz
chessh-2e45ff0a7a1f0804656d07977a23f803eb3b04f7.zip
Render currently connected node on main menu
Diffstat (limited to 'lib/chessh/ssh/client')
-rw-r--r--lib/chessh/ssh/client/menus/main_menu.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chessh/ssh/client/menus/main_menu.ex b/lib/chessh/ssh/client/menus/main_menu.ex
index 167a0ef..09aea14 100644
--- a/lib/chessh/ssh/client/menus/main_menu.ex
+++ b/lib/chessh/ssh/client/menus/main_menu.ex
@@ -20,7 +20,7 @@ defmodule Chessh.SSH.Client.MainMenu do
def tick_delay_ms(), do: 1000
def max_displayed_options(), do: 4
def max_box_cols(), do: @logo_cols
- def title(), do: @logo
+ def title(), do: @logo ++ ["- Connected on: #{System.get_env("NODE_ID")}"]
def initial_options(%State{player_session: %PlayerSession{} = player_session}) do
[