diff --git a/src/main.rs b/src/main.rs index 6334270..023764b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ fn parse_markdown(page_content: String) -> (String, Vec) { let mut parsed_page_content: String = "".to_string(); let mut hyperlink_number_counter: u64 = 0; let mut links: Vec = Vec::new(); - let (screen_width, screen_height) = termion::terminal_size().unwrap(); + let (screen_width, screen_height) = termion::terminal_size().unwrap(); // So the horizontal line (
) spans the whole console for line in page_content.lines() { let mut parsed_line: String = line.to_string();