mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-08-15 16:40:24 +03:00
Finalized pre-commit config, sorted imports.
This commit is contained in:
parent
a4aa58f72f
commit
f5753b0be0
@ -1,6 +1,5 @@
|
||||
repos:
|
||||
- repo: https://github.com/doublify/pre-commit-rust
|
||||
rev: master
|
||||
rev: v1.0
|
||||
hooks:
|
||||
- id: fmt
|
||||
args: [ '--verbose' ]
|
||||
|
@ -1,6 +1,5 @@
|
||||
use chrono::Utc;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct App {
|
||||
/// Current value of the input box
|
||||
pub input: String,
|
||||
|
@ -1,11 +1,13 @@
|
||||
use std::io;
|
||||
use std::sync::{
|
||||
Arc,
|
||||
atomic::{AtomicBool, Ordering},
|
||||
use std::{
|
||||
io,
|
||||
sync::mpsc,
|
||||
sync::{
|
||||
atomic::{AtomicBool, Ordering},
|
||||
Arc,
|
||||
},
|
||||
thread,
|
||||
time::Duration,
|
||||
};
|
||||
use std::sync::mpsc;
|
||||
use std::thread;
|
||||
use std::time::Duration;
|
||||
|
||||
use termion::event::Key;
|
||||
use termion::input::TermRead;
|
||||
|
Loading…
Reference in New Issue
Block a user