Open
Conversation
* The pasteboard crate has been added to Cargo.toml. * In src/bin, use of this crate is conditional on target_os = "macOS" * The implementation of dump_image_to_clipboard is exactly like the linux one, except instead of shelling out to xclip, we call the unsafe function: Pasteboard::Image.copy(temp.path().to_str().unwrap()); Hat tip to @segeljakt for pasteboard :)
Implement --to-clipboard for macOS
Bumps [failure](https://github.com/rust-lang-nursery/failure) from 0.1.5 to 0.1.6. - [Release notes](https://github.com/rust-lang-nursery/failure/releases) - [Changelog](https://github.com/rust-lang-nursery/failure/blob/master/RELEASES.md) - [Commits](https://github.com/rust-lang-nursery/failure/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump failure from 0.1.5 to 0.1.6
Bumps [env_logger](https://github.com/sebasmagri/env_logger) from 0.7.0 to 0.7.1. - [Release notes](https://github.com/sebasmagri/env_logger/releases) - [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md) - [Commits](rust-cli/env_logger@v0.7.0...v0.7.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
…0.7.1 Bump env_logger from 0.7.0 to 0.7.1
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.3 to 0.3.4. - [Release notes](https://github.com/TeXitoi/structopt/releases) - [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md) - [Commits](TeXitoi/structopt@v0.3.3...v0.3.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [euclid](https://github.com/servo/euclid) from 0.20.4 to 0.20.5. - [Release notes](https://github.com/servo/euclid/releases) - [Commits](https://github.com/servo/euclid/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.4 to 0.3.5. - [Release notes](https://github.com/TeXitoi/structopt/releases) - [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md) - [Commits](TeXitoi/structopt@v0.3.4...v0.3.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [euclid](https://github.com/servo/euclid) from 0.20.5 to 0.20.6. - [Release notes](https://github.com/servo/euclid/releases) - [Commits](https://github.com/servo/euclid/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [font-kit](https://github.com/servo/font-kit) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/servo/font-kit/releases) - [Commits](https://github.com/servo/font-kit/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
feat: line offset
feat: fix warning
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.35 to 1.0.36. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](dtolnay/anyhow@1.0.35...1.0.36) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
docs: add dependency for Fedora 33
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [font-kit](https://github.com/servo/font-kit) from 0.10.0 to 0.10.1. - [Release notes](https://github.com/servo/font-kit/releases) - [Commits](servo/font-kit@v0.10.0...v0.10.1) --- updated-dependencies: - dependency-name: font-kit dependency-type: direct:production update-type: version-update:semver-patch ... Close Aloxaf#147 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…--end for starting and ending range if end end is larger than file, end becomes file lenght
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tried to implement a feature for specifying range of code you would want to be copied
The feature is rough around the edges, but it works with passing a --start and --end value into the application. Then it just runs on the range.