summaryrefslogtreecommitdiffstats
path: root/default-plugins
diff options
context:
space:
mode:
authorraphCode <15750438+raphCode@users.noreply.github.com>2022-04-14 09:24:29 +0200
committerGitHub <noreply@github.com>2022-04-14 09:24:29 +0200
commit9faaa4cb231ea604d30ccf58e10babfd7d8ea665 (patch)
treefbfd67704aead01138a161f06e9f9a7400f93dbd /default-plugins
parentbf214421860deab04b7050226928cc7e94cdd509 (diff)
feat(copy): improve message when copying to system clipboard (#1321)
This is to avoid confusion: New users coming from tmux might expect internal copy/paste buffers in zellij which are separate from the system clipboard. It may therefore be surprising where the copied text ends up and that zellij has no dedicated "paste" functionality. Related issues: #1288 #1018
Diffstat (limited to 'default-plugins')
-rw-r--r--default-plugins/status-bar/src/second_line.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/default-plugins/status-bar/src/second_line.rs b/default-plugins/status-bar/src/second_line.rs
index 6f7a89a89..9b6540336 100644
--- a/default-plugins/status-bar/src/second_line.rs
+++ b/default-plugins/status-bar/src/second_line.rs
@@ -318,10 +318,10 @@ pub fn text_copied_hint(palette: &Palette, copy_destination: CopyDestination) ->
let hint = match copy_destination {
CopyDestination::Command => "Text piped to external command",
#[cfg(not(target_os = "macos"))]
- CopyDestination::Primary => "Text copied to primary selection",
+ CopyDestination::Primary => "Text copied to system primary selection",
#[cfg(target_os = "macos")] // primary selection does not exist on macos
- CopyDestination::Primary => "Text copied to clipboard",
- CopyDestination::System => "Text copied to clipboard",
+ CopyDestination::Primary => "Text copied to system clipboard",
+ CopyDestination::System => "Text copied to system clipboard",
};
LinePart {
part: Style::new().fg(green_color).bold().paint(hint).to_string(),