From 92bf985a9aa53c11d01dbe9b3a3c02bd8fb0fddd Mon Sep 17 00:00:00 2001 From: deadvey Date: Tue, 7 Jan 2025 23:34:05 +0100 Subject: [PATCH] Update src/main.rs Some comment --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();