summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client/menu.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chessh/ssh/client/menu.ex')
-rw-r--r--lib/chessh/ssh/client/menu.ex10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/chessh/ssh/client/menu.ex b/lib/chessh/ssh/client/menu.ex
index 6c96cc2..b69340c 100644
--- a/lib/chessh/ssh/client/menu.ex
+++ b/lib/chessh/ssh/client/menu.ex
@@ -63,7 +63,6 @@ defmodule Chessh.SSH.Client.Menu do
%Chessh.SSH.Client.Game.State{player_session: player_session, game: game}}}
end) ++
[
- {"Settings", {}},
{"Help", {}}
]
end
@@ -130,7 +129,14 @@ defmodule Chessh.SSH.Client.Menu do
fn {i, {option, _}} ->
[
ANSI.cursor(y + length(logo_lines) + i + 1, x),
- if(i == selected, do: ANSI.format([:bright, :light_cyan, "+ #{option}"]), else: option)
+ if(i == selected,
+ do:
+ ANSI.format_fragment(
+ [:light_cyan, :bright, "> #{option} <", :reset],
+ true
+ ),
+ else: option
+ )
]
end
) ++ [ANSI.home()]