small structural changes

This commit is contained in:
2024-11-08 11:33:29 +01:00
parent 5ff2866f26
commit da2b04c87e
5 changed files with 175 additions and 173 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ pub fn closest_component(
}
pub fn create_frame(width: crate::Value<usize>, height: crate::Value<usize>) -> Vec<String> {
vec![" ".repeat(width.get_size()); height.get_size()]
vec![" ".repeat(width.get_value()); height.get_value()]
}
pub fn get_term_size() -> (usize, usize) {