gautamkrishnar / socli

Stack overflow command line client. Search and browse stack overflow without leaving the terminal :computer:
https://pypi.python.org/pypi/socli
BSD 3-Clause "New" or "Revised" License
1.1k stars 218 forks source link

Copy Answer Text to Clipboard #298

Closed cvoorhees15 closed 8 months ago

cvoorhees15 commented 8 months ago

Copy Answer Text to Clipboard

(Sorry for doing this backwards and posting a PR first)

Feature

When the user has the ui open looking at a Stack Overflow post, they can press the x key to copy the text from the currently displayed answer to their clipboard

Have you read the Contributing Guidelines on Pull Requests?

Yes

Motivation

I added this feature within my local copy of the tool and think others might find it convenient.

Pitch

As a user of socli, one could copy the answer to a question they are looking at without needing to open it in their browser.

gautamkrishnar commented 8 months ago

@cvoorhees15 thanks a lot for opening the PR, I will review and merge it this weekend.