Render currently connected node on main menu
This commit is contained in:
parent
7e8120ad35
commit
2e45ff0a7a
@ -20,7 +20,7 @@ defmodule Chessh.SSH.Client.MainMenu do
|
|||||||
def tick_delay_ms(), do: 1000
|
def tick_delay_ms(), do: 1000
|
||||||
def max_displayed_options(), do: 4
|
def max_displayed_options(), do: 4
|
||||||
def max_box_cols(), do: @logo_cols
|
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
|
def initial_options(%State{player_session: %PlayerSession{} = player_session}) do
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user