summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client/menu.ex
diff options
context:
space:
mode:
authorLogan Hunt <logan.hunt@usu.edu>2023-01-13 12:20:01 -0700
committerLogan Hunt <logan.hunt@usu.edu>2023-01-13 12:21:04 -0700
commit07eaad9b8ded7a719183eec84faaf5b168744f01 (patch)
treea6a9ea14ba261e7c5a142613d800c19774965bc1 /lib/chessh/ssh/client/menu.ex
parenta93119b25033248decda7477575e214a1b254fbd (diff)
downloadchessh-07eaad9b8ded7a719183eec84faaf5b168744f01.tar.gz
chessh-07eaad9b8ded7a719183eec84faaf5b168744f01.zip
Move renderer to its own module
Diffstat (limited to 'lib/chessh/ssh/client/menu.ex')
-rw-r--r--lib/chessh/ssh/client/menu.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chessh/ssh/client/menu.ex b/lib/chessh/ssh/client/menu.ex
index 6eb2bdd..c207872 100644
--- a/lib/chessh/ssh/client/menu.ex
+++ b/lib/chessh/ssh/client/menu.ex
@@ -65,7 +65,7 @@ defmodule Chessh.SSH.Client.Menu do
) do
logo_lines = String.split(@logo, "\n")
{logo_width, logo_height} = Utils.text_dim(@logo)
- {y, x} = center_rect({logo_width, logo_height + length(logo_lines)}, {width, height})
+ {y, x} = Utils.center_rect({logo_width, logo_height + length(logo_lines)}, {width, height})
[ANSI.clear()] ++
Enum.flat_map(