From 529ac47fc81f12e953568826b87ef75568eaa83b Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sun, 28 May 2017 09:38:10 -0700 Subject: Add support for Beam, Underline cursors Notable about this implementation is it takes a different approach for managing cursor cells that previously. The terminal Grid is now borrowed *immutably*. Instead of mutating Cells in the Grid, a list is managed within the RenderableCellsIter. The cell at the cursor location is skipped over, and instead cells are popped off a list of cursor cells. It would be good in the future to share some more code between the different cursor style implementations for populating the cursor cells list. Supercedes #349. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 0a3366ce..2ee23d7b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,6 +20,7 @@ #![cfg_attr(feature = "clippy", deny(if_not_else))] #![cfg_attr(feature = "clippy", deny(wrong_pub_self_convention))] #![cfg_attr(feature = "nightly", feature(core_intrinsics))] +#![cfg_attr(all(test, feature = "bench"), feature(test))] #[macro_use] extern crate bitflags; #[macro_use] extern crate clap; @@ -30,6 +31,7 @@ #[cfg(any(target_os = "linux", target_os = "freebsd", target_os="dragonfly", target_os="openbsd"))] extern crate x11_dl; +extern crate arraydeque; extern crate cgmath; extern crate copypasta; extern crate errno; -- cgit v1.2.3-54-g00ecf