diff options
author | Joe Wilm <joe@jwilm.com> | 2017-05-28 09:38:10 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-06-11 13:21:13 -0700 |
commit | 529ac47fc81f12e953568826b87ef75568eaa83b (patch) | |
tree | 450024deb1f8d4340142d46a11ae9749cf786b77 /src/lib.rs | |
parent | 9825adf695a472be5d3316354f707c7d9d2d2730 (diff) | |
download | alacritty-529ac47fc81f12e953568826b87ef75568eaa83b.tar.gz alacritty-529ac47fc81f12e953568826b87ef75568eaa83b.zip |
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.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |