Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Termux (Android) #86

Closed
wants to merge 1 commit into from
Closed

Add support for Termux (Android) #86

wants to merge 1 commit into from

Conversation

Lonami
Copy link

@Lonami Lonami commented Apr 2, 2017

The test with random whitespaces fails though :(

Not sure if termux-clipboard-[gs]et actually supports it. I understand if this can't be merged due to having a test failing :P

@@ -79,6 +79,8 @@ def determine_clipboard():
return init_xsel_clipboard()
if _executable_exists("klipper") and _executable_exists("qdbus"):
return init_klipper_clipboard()
if _executable_exists("termux-clipboard-get") and _executable_exists("termux-clipboard-set"):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HAS_DISPLAY is False on Android. This should be as an elif to the HAS_DISPLAY check.

@ioistired
Copy link

Oh wow, I should've checked the PRs before I opened #105 😛

Anyway, my fork doesn't have the bug I commented on above, so if you'd like to close this or fix that bug, that'd be great. If you fix it in your patch I'll close my PR.

@Lonami
Copy link
Author

Lonami commented Oct 15, 2017

It's alright, thank you for including the feature as well!

@Lonami Lonami closed this Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants