tek -> tengri

This commit is contained in:
🪞👃🪞 2025-03-15 17:00:56 +02:00
parent 4f7c69fbec
commit 3b441c4b56
6 changed files with 65 additions and 102 deletions

View file

View file

@ -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()?;

View file

View file

@ -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> {