Update src/main.rs

Some comment
This commit is contained in:
deadvey 2025-01-07 23:34:05 +01:00
parent 1130e37ec3
commit 92bf985a9a

View File

@ -14,7 +14,7 @@ fn parse_markdown(page_content: String) -> (String, Vec<String>) {
let mut parsed_page_content: String = "".to_string();
let mut hyperlink_number_counter: u64 = 0;
let mut links: Vec<String> = Vec::new();
let (screen_width, screen_height) = termion::terminal_size().unwrap();
let (screen_width, screen_height) = termion::terminal_size().unwrap(); // So the horizontal line (<hr/>) spans the whole console
for line in page_content.lines() {
let mut parsed_line: String = line.to_string();