John Helmert
7423a43e50
Make the clipboard command user-configurable
...
Add config item clipboard_cmd, with a default of 'pbcopy w' on Darwin
and 'xclip' on everything else. This will allow the user to use any
command for the clipboard, including 'wl-copy' for Wayland (addressing
issue #693 on Github). With his change, significant simplifications
could be made to clipboard.py - the copy_*() functions have been removed
and combined into copy().
With this simplification, the old OSX test is obsolete, and new OSX
tests are needed (need a way to simulate sys.platform).
2019-06-08 15:18:15 -05:00
John Helmert
e545c7052c
Fix Github issue #695
...
Caused by Page.move_to_bottom() setting self.nav.page_index to -1, only
possible when there are no comments on a submission, but which also
caused a crash when rendering.
2019-06-07 11:39:09 -05:00
Michael Lazar
4a95d24e8c
Fix bug in clipboard copying
2019-02-27 02:18:44 -05:00
Michael Lazar
7a71023a40
Large commit to add support for browsing the inbox
2019-02-27 02:04:45 -05:00
Michael Lazar
8042f3e1f0
Added tests, minor refactoring
2019-02-03 00:24:38 -05:00
Michael Lazar
e48e93aabf
Merge branch 'yank_links_prompt' of https://github.com/woorst/rtv into woorst-yank_links_prompt
2019-02-02 22:38:25 -05:00
Michael Lazar
93a96e5f51
Fix edge-case when printing terminal title
2019-02-02 21:00:27 -05:00
woorst
ef3210c339
display yanked url in notification
2018-11-04 15:57:00 -05:00
woorst
6a262333d3
open links prompt to select url for copying
2018-11-03 18:18:27 -04:00
Michael Lazar
81e90fccfb
Making the user page titles a little fancier
2018-10-02 00:51:10 -04:00
woorst
fb18ee4c3d
handle page display names
2018-09-10 16:09:16 -04:00
woorst
dae2d0a27d
More of a user's pages are visible
2018-09-10 13:07:41 -04:00
Michael Lazar
708b436ff1
Changed the help text format when editing comments & submissions
2018-08-05 21:28:05 -04:00
Michael Lazar
542c660b67
Check if a post is archived before attempting to vote on it
2018-08-05 00:32:11 -04:00
Michael Lazar
b959b5d4bd
Removing the gilded sorting option from the submission and search result pages
2018-08-04 01:07:19 -04:00
Michael Lazar
100515769c
PyLint and PEP8 formatting
2018-04-02 18:28:21 -04:00
Michael Lazar
47e5414be0
Fixing error handling for the inbox command
2018-01-21 19:38:35 -05:00
Michael Lazar
b69ee70366
Merge branch 'master' into themes
2017-12-07 20:55:44 -05:00
Michael Lazar
29ea05f5bb
Adding support for emacs terminals
2017-11-04 15:20:58 -04:00
Michael Lazar
552c178fe6
Fixing tests
2017-09-20 13:35:20 -04:00
Michael Lazar
978cdb918a
Fixing a few edge cases
2017-09-20 12:46:44 -04:00
Michael Lazar
68906b2a67
Refactoring and adding some new themes
2017-09-20 01:04:23 -04:00
Michael Lazar
d8213f2271
Switching to more vim-inspired theme attributes
2017-09-19 02:10:37 -04:00
Michael Lazar
b941dc22af
Merge branch 'master' into themes
2017-09-14 14:44:00 -04:00
Michael Lazar
7e2d3c16ea
Remove sorting "Links from..." dialog for comments
2017-09-14 00:17:58 -04:00
Michael Lazar
1599809f4a
Merge pull request #440 from michael-lazar/new_rate_limiting
...
New rate limiting
2017-09-13 23:58:36 -04:00
Michael Lazar
1cf8c7b3df
Changing logout prompt to a pop-up notification
2017-09-13 01:35:29 -04:00
Michael Lazar
ef0bd42963
Fixing the cache?
2017-09-13 01:26:08 -04:00
Michael Lazar
f39fb63bac
Fixing bug
2017-09-12 22:03:04 -04:00
Michael Lazar
fb2ede8df7
Adding theme list and enabling F2 / F3
2017-09-12 01:48:03 -04:00
Michael Lazar
9af4b8c709
Refactoring the monochrome stuff
2017-09-11 00:30:18 -04:00
Michael Lazar
a208a6764a
Merge branch 'master' into themes
...
# Conflicts:
# rtv/__main__.py
# rtv/page.py
# rtv/submission_page.py
# rtv/subreddit_page.py
# rtv/subscription_page.py
# rtv/terminal.py
# rtv/theme.py
2017-09-10 22:26:06 -04:00
Michael Lazar
982861560a
Cherry picking backwards-compatible changes from the themes branch
2017-09-08 01:10:32 -04:00
Michael Lazar
7b074e0c05
Merge branch 'master' into themes
2017-09-07 22:31:43 -04:00
Michael Lazar
4bad3000e4
Refactoring
2017-08-31 09:19:41 -04:00
Michael Lazar
c77cf89d16
Updating sorting options for search results
2017-08-31 01:15:44 -04:00
Michael Lazar
cc5d8a941c
Adding the search term to the title bar, removing with_search argument
2017-07-22 22:04:20 -04:00
Michael Lazar
d0fef21c3e
Adding the ability to highlight
2017-07-22 19:35:01 -04:00
woorst
9f59d941d7
reconcile method signatures
2017-07-18 17:09:24 -05:00
woorst
1807ea4aad
clear search when not refreshing sort
2017-07-18 15:27:35 -05:00
Michael Lazar
862d0e756d
Working on theme support
2017-07-10 17:58:48 -04:00
Michael Lazar
4ff822373b
Moving comments to docstrings
2017-06-27 23:20:05 -04:00
Ryan Reno
370cfa0642
Issue #343 Added method to clear screen
2017-06-20 21:07:24 -07:00
Michael Lazar
1c66c5662f
Fixed tests
2017-05-10 21:40:40 -07:00
Michael Lazar
29584acd3a
Code review refactoring
2017-05-09 18:20:52 -04:00
Josue Ortega
7412f5256d
Adds flash message when copy is successful
2017-05-05 13:22:43 -06:00
Josue Ortega
ed5419eff8
Removes call of str() function to avoid mixing bytes/string
2017-05-05 12:57:39 -06:00
Josue Ortega
5f6435d7b9
Fixed source of submission url to make it work with selfposts
2017-05-05 12:31:11 -06:00
Josue Ortega
512b3cebe9
Adds own implementation of copy
2017-05-03 19:47:24 -06:00
Josue Ortega
7a2d248875
Add hotkeys to copy submission permalink and submission url
2017-04-17 15:17:55 -06:00