aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index f499809..c3a4b32 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -157,8 +157,7 @@ fn main() {
move_selection(&mut term, &mut selection, knockout_cell, options.len() + 1)
}
'\x0D' => {
- clipboard_store.set_contents(strip_key(&options[selection.y - 2]).to_owned());
- match clipboard_ctx.set_contents(strip_key(&options[selection.y - 2]).to_owned()) {
+ match clipboard_store.set_contents(strip_key(&options[selection.y - 2]).to_owned()) {
Ok(_) => {
term.printline_with_cell(selection.x, selection.y, "->", green_cell);
},