Skip to content

Commit

Permalink
main: Add early debug print to show system disks
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Jun 17, 2024
1 parent ecc5292 commit fc97390
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use lichen::tui::{
Application, Element, Event,
};
use ratatui::widgets::{Borders, Padding};
use system::disk::Disk;

use self::page::Page;

Expand All @@ -23,6 +24,9 @@ mod theme;

#[tokio::main]
async fn main() -> color_eyre::Result<()> {
// find all disks
let disks = Disk::discover()?;
eprintln!("System disks: {disks:?}");
application::run(App::new()).await
}

Expand Down

0 comments on commit fc97390

Please sign in to comment.