mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Drop tui.
This commit is contained in:
parent
c17045ed07
commit
57c2046070
@ -29,4 +29,4 @@ futures = { version = "0.3.5", default-features = false, features = ["std"] }
|
||||
smol = "0.1.10"
|
||||
num_cpus = "1.13.0"
|
||||
piper = "0.1.2"
|
||||
tui = { version = "0.9.5", default-features = false }
|
||||
# tui = { version = "0.9.5", default-features = false }
|
||||
|
@ -11,8 +11,6 @@
|
||||
use smol::Timer;
|
||||
// use futures_timer::Delay;
|
||||
|
||||
use tui::{backend::CrosstermBackend, Terminal};
|
||||
|
||||
use crossterm::{
|
||||
cursor::position,
|
||||
event::{DisableMouseCapture, EnableMouseCapture, Event, EventStream, KeyCode},
|
||||
@ -66,9 +64,6 @@ fn main() -> Result<()> {
|
||||
let mut stdout = stdout();
|
||||
execute!(stdout, EnableMouseCapture)?;
|
||||
|
||||
let backend = CrosstermBackend::new(stdout);
|
||||
let mut terminal = Terminal::new(backend)?;
|
||||
|
||||
use std::thread;
|
||||
|
||||
// Same number of threads as there are CPU cores.
|
||||
|
Loading…
Reference in New Issue
Block a user