Update clipboard feature (#2491)

* WIP - compiling but not working

* semi-working

* making progress

* working except for table lines

* fmt + clippy

* cleaned up some comments

* working line colors

* fmt, clippy, updated sample config.toml

* merges

* shouldn't these both bet clipboard-cli?
This commit is contained in:
Darren Schroeder 2020-09-03 14:21:32 -05:00 committed by GitHub
parent 666e6a7b57
commit 8dc7b8a7cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ pub fn create_default_context(
whole_stream_command(UrlQuery),
]);
#[cfg(feature = "clipboard")]
#[cfg(feature = "clipboard-cli")]
{
context.add_commands(vec![whole_stream_command(crate::commands::clip::Clip)]);
}

View File

@ -18,7 +18,7 @@ pub(crate) mod cal;
pub(crate) mod cd;
pub(crate) mod char_;
pub(crate) mod classified;
#[cfg(feature = "clipboard")]
#[cfg(feature = "clipboard-cli")]
pub(crate) mod clip;
pub(crate) mod command;
pub(crate) mod compact;