diff options
author | Logan Hunt <logan.hunt@usu.edu> | 2023-01-13 12:20:01 -0700 |
---|---|---|
committer | Logan Hunt <logan.hunt@usu.edu> | 2023-01-13 12:21:04 -0700 |
commit | 07eaad9b8ded7a719183eec84faaf5b168744f01 (patch) | |
tree | a6a9ea14ba261e7c5a142613d800c19774965bc1 /lib/chessh/ssh/client/menu.ex | |
parent | a93119b25033248decda7477575e214a1b254fbd (diff) | |
download | chessh-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.ex | 2 |
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( |