mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 17:46:42 +01:00
tek -> tengri
This commit is contained in:
parent
4f7c69fbec
commit
3b441c4b56
6 changed files with 65 additions and 102 deletions
|
|
@ -8,9 +8,7 @@ use std::fs::read;
|
|||
use std::thread::{sleep, spawn, JoinHandle};
|
||||
use std::time::Duration;
|
||||
|
||||
use tek_tui::*;
|
||||
use tek_tui::tek_output::*;
|
||||
use tek_tui::tek_input::*;
|
||||
use tengri::{input::*, output::*, tui::*};
|
||||
use crate::crossterm::event::{Event, KeyEvent, KeyCode, KeyModifiers, KeyEventState, KeyEventKind};
|
||||
|
||||
use clap::{arg, command, value_parser};
|
||||
|
|
@ -48,6 +46,7 @@ fn main () -> Usually<()> {
|
|||
};
|
||||
let threads = args.get_one::<usize>("threads").map(|x|*x).unwrap_or_default().max(1);
|
||||
set_current_dir(&path)?;
|
||||
|
||||
let results = collect(&path, threads)?;
|
||||
if let Ok(results) = Arc::try_unwrap(results) {
|
||||
let mut results = results.into_inner()?;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use crate::*;
|
||||
use tek_tui::ratatui::{style::{Color, Style}, prelude::Stylize};
|
||||
use tengri::tui::ratatui::{style::{Color, Style}, prelude::Stylize};
|
||||
use pad::PadStr;
|
||||
|
||||
pub struct Column<T> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue