diff options
author | extrawurst <mail@rusticorn.com> | 2023-04-19 14:46:09 +0200 |
---|---|---|
committer | extrawurst <mail@rusticorn.com> | 2023-04-19 14:46:09 +0200 |
commit | 904885e001bddd3c2b36311d69debbc26c3623ca (patch) | |
tree | c344afe65be5285b9463e4057463581d3384729e /src/main.rs | |
parent | 19b820bb35a5b9964d54ef0327e31361a82d1ada (diff) |
tui -> ratatui
tui is not maintained anymore and it seems that ratatui is the successor: https://github.com/fdehau/tui-rs/issues/654
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index 2faa4f03..26e4b5aa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -67,6 +67,10 @@ use crossterm::{ use input::{Input, InputEvent, InputState}; use keys::KeyConfig; use profiler::Profiler; +use ratatui::{ + backend::{Backend, CrosstermBackend}, + Terminal, +}; use scopeguard::defer; use scopetime::scope_time; use spinner::Spinner; @@ -76,10 +80,6 @@ use std::{ panic, process, time::{Duration, Instant}, }; -use tui::{ - backend::{Backend, CrosstermBackend}, - Terminal, -}; use ui::style::Theme; use watcher::RepoWatcher; |