Use the rexported crossterm from ratatui

This commit is contained in:
mo8it
2024-07-25 16:26:48 +02:00
parent 8beb290842
commit 1937b4bf66
10 changed files with 38 additions and 37 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
use anyhow::Result;
use crossterm::{
use ratatui::crossterm::{
style::{style, Stylize},
terminal,
};
+1 -1
View File
@@ -1,4 +1,4 @@
use crossterm::event::{self, Event, KeyCode, KeyEventKind, KeyModifiers};
use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind, KeyModifiers};
use std::sync::mpsc::Sender;
use super::WatchEvent;