Brett 2023-12-15 14:03:33 -05:00
parent 19f775b919
commit bda044de1e
2 changed files with 2 additions and 5 deletions

View File

@ -318,8 +318,8 @@ namespace blt::string
*/ */
struct ascii_padding_format struct ascii_padding_format
{ {
size_t horizontalPadding = 4; size_t horizontalPadding = 1;
size_t verticalPadding = 2; size_t verticalPadding = 1;
}; };
struct tree_format struct tree_format
@ -340,7 +340,6 @@ namespace blt::string
{ {
std::string data; std::string data;
std::string title; std::string title;
tree_node* parent;
blt::static_vector<tree_node*, 16> children; blt::static_vector<tree_node*, 16> children;
}; };

View File

@ -149,8 +149,6 @@ void blt::test::utility::run()
} }
blt::string::ascii_padding_format bf; blt::string::ascii_padding_format bf;
bf.horizontalPadding = 1;
bf.verticalPadding = 1;
blt::string::ascii_titled_box bt1{"Pants are inside my lungs", "I sold your child", bf}; blt::string::ascii_titled_box bt1{"Pants are inside my lungs", "I sold your child", bf};
blt::string::ascii_titled_box bt2{"With your child", "Your my whole world", bf}; blt::string::ascii_titled_box bt2{"With your child", "Your my whole world", bf};
blt::string::ascii_box b1{"Single Word", bf}; blt::string::ascii_box b1{"Single Word", bf};