From 2e45ff0a7a1f0804656d07977a23f803eb3b04f7 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Wed, 22 Feb 2023 11:44:23 -0700 Subject: [PATCH] Render currently connected node on main menu --- lib/chessh/ssh/client/menus/main_menu.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [