From 69ffbd2d09dabb59afe0c42c874934b55e1135d7 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Wed, 15 Nov 2023 17:55:20 +1000 Subject: [PATCH] layout tweaking --- bbslist.ans | 8 ++++---- src/main.rs | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bbslist.ans b/bbslist.ans index a92b4b7..b7d7744 100644 --- a/bbslist.ans +++ b/bbslist.ans @@ -1,5 +1,6 @@ -  -ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ +  + ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ + ³³ ³³ ³³ ÜÛTELNET ADDRESSÛÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ ³³ Û @@ -18,7 +19,6 @@ ³³ ³³ ÜÛDESCRIPTIONÛÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ ³³ Û - ³³ Û ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ -    Scroll Listings A Add an Entry Q Quit to BBS  +    Scroll Listings A Add an Entry Q Quit to BBS   diff --git a/src/main.rs b/src/main.rs index 1160e9e..3159e6d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,8 +60,8 @@ fn door_main(mut u: User) -> Result<(), Box> { u.write_ln( format!( - "{}{}{:<35}{}", - esc!("[2;41H"), + "{}{}{:^40}{}", + esc!("[3;40H"), esc!("[1;32m"), bbslist[i].name, esc! {"[0m"} @@ -71,7 +71,7 @@ fn door_main(mut u: User) -> Result<(), Box> { u.write_ln( format!( "{}{}{:<37}{}", - esc!("[5;42H"), + esc!("[6;42H"), esc!("[1;33m"), bbslist[i].telnet, esc! {"[0m"} @@ -81,7 +81,7 @@ fn door_main(mut u: User) -> Result<(), Box> { u.write_ln( format!( "{}{}{:<37}{}", - esc!("[8;42H"), + esc!("[9;42H"), esc!("[1;33m"), bbslist[i].ssh, esc! {"[0m"} @@ -91,7 +91,7 @@ fn door_main(mut u: User) -> Result<(), Box> { u.write_ln( format!( "{}{}{:<37}{}", - esc!("[11;42H"), + esc!("[12;42H"), esc!("[1;33m"), bbslist[i].software, esc! {"[0m"} @@ -101,7 +101,7 @@ fn door_main(mut u: User) -> Result<(), Box> { u.write_ln( format!( "{}{}{:<37}{}", - esc!("[14;42H"), + esc!("[15;42H"), esc!("[1;33m"), bbslist[i].location, esc! {"[0m"} @@ -111,7 +111,7 @@ fn door_main(mut u: User) -> Result<(), Box> { u.write_ln( format!( "{}{}{:<37}{}", - esc!("[17;42H"), + esc!("[18;42H"), esc!("[1;33m"), bbslist[i].sysop, esc! {"[0m"} @@ -121,7 +121,7 @@ fn door_main(mut u: User) -> Result<(), Box> { u.write_ln( format!( "{}{}{:<37}{}", - esc!("[20;42H"), + esc!("[21;42H"), esc!("[1;33m"), bbslist[i].desc, esc! {"[0m"}