Skip to content

Commit

Permalink
fix: fix clipboard on windows and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed May 18, 2022
1 parent fb72dc1 commit aac9819
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.7.4] - 2022-05-18
### HOTFIX
- fixed built on macos and windows

## [0.7.3] - 2022-05-18
### Library
- add code comments and tests
Expand Down Expand Up @@ -115,7 +119,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- upload image

<!-- next-url -->
[Unreleased]: https://github.com/MedzikUser/imgurs/compare/v0.7.3...HEAD
[Unreleased]: https://github.com/MedzikUser/imgurs/compare/v0.7.4...HEAD
[0.7.4]: https://github.com/MedzikUser/imgurs/commits/v0.7.4
[0.7.3]: https://github.com/MedzikUser/imgurs/commits/v0.7.3
[0.7.2]: https://github.com/MedzikUser/imgurs/commits/v0.7.2
[0.7.1]: https://github.com/MedzikUser/imgurs/commits/v0.7.1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imgurs"
version = "0.7.3"
version = "0.7.4"
description = "API and CLI for Imgur"
license = "BSD-3-Clause"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/cli/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ pub fn set_clipboard(content: &str) {
)))]
pub fn set_clipboard(content: &str) {
let mut clipboard = arboard::Clipboard::new().unwrap();
clipboard.set_text(content).unwrap();
clipboard.set_text(content.to_string()).unwrap();
}

0 comments on commit aac9819

Please sign in to comment.