diff --git a/src/logs.rs b/src/logs.rs index 7ce58dc..f31cf92 100644 --- a/src/logs.rs +++ b/src/logs.rs @@ -2,7 +2,7 @@ use std::fs; use chrono::{DateTime, Local}; use colored::*; -use comfy_table::presets::UTF8_HORIZONTAL_BORDERS_ONLY; +use comfy_table::presets::UTF8_HORIZONTAL_ONLY; use comfy_table::{Cell, CellAlignment, ContentArrangement, Table}; use flexi_logger::{FileSpec, LevelFilter}; use log::error; @@ -38,7 +38,7 @@ pub fn display_summary( println!("\n{}", "Partially failed downloads".yellow().bold()); let mut table_partial = Table::new(); table_partial - .load_preset(UTF8_HORIZONTAL_BORDERS_ONLY) + .load_preset(UTF8_HORIZONTAL_ONLY) .set_header(vec![ Cell::new("Link").set_alignment(CellAlignment::Center), Cell::new("Title").set_alignment(CellAlignment::Center), @@ -55,7 +55,7 @@ pub fn display_summary( println!("\n{}", "Failed article downloads".bright_red().bold()); let mut table_failed = Table::new(); table_failed - .load_preset(UTF8_HORIZONTAL_BORDERS_ONLY) + .load_preset(UTF8_HORIZONTAL_ONLY) .set_header(vec![ Cell::new("Link").set_alignment(CellAlignment::Center), Cell::new("Reason").set_alignment(CellAlignment::Center), diff --git a/src/main.rs b/src/main.rs index d82ac95..fa49ab0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ extern crate lazy_static; use std::process::exit; use colored::Colorize; -use comfy_table::presets::{UTF8_FULL, UTF8_HORIZONTAL_BORDERS_ONLY}; +use comfy_table::presets::{UTF8_FULL, UTF8_HORIZONTAL_ONLY}; use comfy_table::{ContentArrangement, Table}; use http::download; use indicatif::{ProgressBar, ProgressStyle}; @@ -70,7 +70,7 @@ fn run(app_config: AppConfig) { let mut successful_articles_table = Table::new(); successful_articles_table .load_preset(UTF8_FULL) - .load_preset(UTF8_HORIZONTAL_BORDERS_ONLY) + .load_preset(UTF8_HORIZONTAL_ONLY) .set_content_arrangement(ContentArrangement::Dynamic); match app_config.export_type {