Organizing imports

master
Wynd 2024-10-19 20:21:40 +03:00
parent c653bad935
commit c4a289bb59
2 changed files with 10 additions and 16 deletions

View File

@ -1,21 +1,19 @@
use std::time::{Duration, Instant};
use color_eyre::{eyre::eyre, owo_colors::OwoColorize, Result};
use gilrs::{Gamepad, Gilrs};
use color_eyre::{owo_colors::OwoColorize, Result};
use ratatui::{
buffer::Buffer,
crossterm::event::{self, Event, KeyCode, KeyEventKind},
layout::{Alignment, Constraint, Flex, Layout, Rect},
style::{palette::tailwind, Color, Style, Stylize},
crossterm::event::{self, KeyCode, KeyEventKind},
layout::{Constraint, Layout, Rect},
style::{Color, Style, Stylize},
symbols::Marker,
widgets::{
block::Position,
canvas::{Canvas, Circle, Rectangle, Shape},
Block, BorderType, Gauge, Padding, Paragraph, Widget,
canvas::{Canvas, Rectangle, Shape},
Block, BorderType, Widget,
},
DefaultTerminal,
};
use Constraint::{Fill, Length, Min, Percentage};
use Constraint::{Fill, Length, Percentage};
use crate::gamepad_manager::GamepadManager;

View File

@ -1,11 +1,7 @@
use std::{
fs::{File, OpenOptions},
thread,
time::Duration,
};
use std::fs::OpenOptions;
use app::{App, AppState};
use color_eyre::{eyre::eyre, Result};
use app::App;
use color_eyre::Result;
use gamepad_manager::GamepadManager;
use tracing_subscriber::{layer::SubscriberExt, Layer};