aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-06-02 01:47:26 +0000
committerBlaž Hrastnik2020-06-02 01:47:26 +0000
commit57c204607034915ed1b3920fc9aedd0b6bb9a81a (patch)
tree2b71f3fce73be3372cb2cf01f84306d4ef0dc48d /helix-term
parentc17045ed0750ff4ba8ea6f148992e4de611c5537 (diff)
Drop tui.
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/Cargo.toml2
-rw-r--r--helix-term/src/line.rs5
2 files changed, 1 insertions, 6 deletions
diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml
index bd488d2f..081b8f58 100644
--- a/helix-term/Cargo.toml
+++ b/helix-term/Cargo.toml
@@ -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 }
diff --git a/helix-term/src/line.rs b/helix-term/src/line.rs
index 7cbfab61..58d4c9d8 100644
--- a/helix-term/src/line.rs
+++ b/helix-term/src/line.rs
@@ -11,8 +11,6 @@ use futures::{future::FutureExt, select, StreamExt};
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.