mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 10:23:52 +01:00
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:
parent
666e6a7b57
commit
8dc7b8a7cd
@ -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)]);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user