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

Paste detection #156

Closed
boothj5 opened this issue Mar 11, 2013 · 6 comments
Closed

Paste detection #156

boothj5 opened this issue Mar 11, 2013 · 6 comments
Assignees
Milestone

Comments

@boothj5
Copy link
Collaborator

boothj5 commented Mar 11, 2013

Currently blocks of text pasted into Profanity are sent as many single line messages.

Handle pasting of block text as a single message with newlines.

@gurobokum
Copy link

Requesting feature, plz

@sudo-nice
Copy link

Requesting for the feature too.

@rajmahaul
Copy link

Are there any updates with this issue? So far I really like this messenger, but for my use I will need this capability to paste multi-line copies. The messenger sees other multi-line messages without issue, and copies them fine. I am just not able to paste my own. Any ideas on when this might be resolved?

@boothj5
Copy link
Collaborator Author

boothj5 commented Mar 21, 2016

There's been no work in the core code to add this feature

However, if you have the time to install it, the latest code in master branch allows plugins, and I've written a plugin that will send the contents of the clipboard using a "/paste" command, I've tested it on Ubuntu and OSX.

The build just requires a couple of extra dependencies when compiling profanity, mentioned in the readme here: https://github.com/boothj5/profanity-plugins

The paste plugin requires the Python TKinter package.

I'd still like to support this natively, but in the meantime this should work.

The plugins functionality will be in the next release (0.5.0).

@sudo-nice
Copy link

The plugins functionality will be in the next release (0.5.0).

Nice!

@mrsdizzie
Copy link

Would love this feature also -- or even just a way to have a plugin like this default to all text input when installed so it doesn't need to be invoked manually with /paste (Imagine this could be similar to VIM paste mode where it is either on or off).

jubalh added a commit that referenced this issue Oct 29, 2019
New command `/paste` that sends the clipboard in MUC, Chat etc windows.

Fix #156
@jubalh jubalh mentioned this issue Oct 29, 2019
@jubalh jubalh self-assigned this Oct 29, 2019
@jubalh jubalh added this to the 0.8.0 milestone Oct 29, 2019
@jubalh jubalh closed this as completed in 291f9de Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants