Commit Graph

109 Commits

Author SHA1 Message Date
Michael Lazar
a03f4f0b25 Catch error and typo fix 2019-02-18 21:23:37 -05:00
Michael Lazar
6c57dfe9ed Linting 2019-02-18 20:17:34 -05:00
Michael Lazar
05297eb59b Prevent stripping newlines in the middle of markdown submissions 2019-02-13 10:10:24 -05:00
woorst
0b1bb2d574 Improve comment formatting for markdown code block 2019-02-02 14:45:44 -05:00
woorst
7d14494dcf Updated tests for more links per open link prompt 2018-10-01 20:09:47 -04:00
woorst
ee9b231da0 Previous page link in open links prompt. 2018-10-01 19:52:13 -04:00
Michael Lazar
e4cced27eb Adding tests and some minor tweaks to structure. 2018-10-01 00:45:09 -04:00
Michael Lazar
67fb93b2ef Merge branch 'open_links' of https://github.com/codesoap/rtv 2018-09-30 21:04:42 -04:00
woorst
a00685e95a display gold counts on gild comments/submissions 2018-09-15 23:45:55 -04:00
codesoap
5fcd7e517a Save the correct link in the history 2018-08-25 21:30:08 +02:00
codesoap
b8a5d28aa7 Enable link selection, with more than 8 links 2018-08-25 19:12:13 +02:00
codesoap
cec9744702 Move function for opening links into terminal.py 2018-08-19 20:36:20 +02:00
Michael Lazar
708b436ff1 Changed the help text format when editing comments & submissions 2018-08-05 21:28:05 -04:00
Joe MacDonald
3fd389c5c2 pager: Add RTV_PAGER to support a reddit-specific setting
Reddit submissions and comments are styled with Markdown.  If you have a
Markdown-aware pager/viewer on your system it is convenient to be able to
use it rather than the default 'less'/'more'/etc. one used for everything
else on the system.  Support a high-priority environment variable that
will be consulted prior to checking $PAGER and/or defaulting to 'less'.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-07-03 15:14:20 -04:00
Michael Lazar
76b10817d9 Fixing invalid null byte handling for python 2 2018-04-07 16:18:48 -04:00
Michael Lazar
90178141ee Catch unexpected null-byte errors when adding strings to curses 2018-04-07 15:20:32 -04:00
Michael Lazar
f5dab8dd56 Fixing inversed conditional 2018-04-02 18:40:29 -04:00
Michael Lazar
100515769c PyLint and PEP8 formatting 2018-04-02 18:28:21 -04:00
Donovan Glover
f8ec571c3b Add --no-flash option to rtv, fixes #478 2018-01-28 17:00:44 -05:00
Michael Lazar
865040acf9 Fixing edge case with terminals that dont support colors 2017-12-07 21:58:12 -05:00
Michael Lazar
b69ee70366 Merge branch 'master' into themes 2017-12-07 20:55:44 -05:00
jupart
0f75b170d6 Wrap PAGER text, updated with PR review feedback 2017-11-16 08:13:27 -05:00
jupart
a30fdbd1b3 Wrap text in submission page PAGER output 2017-11-13 09:46:31 -05:00
Michael Lazar
1e18c87757 Surpressing stdout/stderr from opening web browsers 2017-11-10 19:56:17 -05:00
Michael Lazar
00df45bd34 Fix crash on startup when terminal doesnt support colors 2017-11-04 14:10:50 -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
d8213f2271 Switching to more vim-inspired theme attributes 2017-09-19 02:10:37 -04:00
Josue Ortega
a8c4b1adf4 Fix crash when submission page contains non standard characters 2017-09-16 12:58:12 -06: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
8b63e1c5de Adding tests 2017-09-10 21:47:55 -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
b1b1a64854 Pylint and fixing error type 2017-09-06 01:36:24 -04:00
Michael Lazar
5a98176992 Fix open_browser tests 2017-09-06 00:59:20 -04:00
Michael Lazar
5499aadffb Adding patch for webbrowser on macOS 2017-09-06 00:22:05 -04:00
Michael Lazar
32c33bc80d Adding $VISUAL check 2017-08-03 00:28:59 -04:00
Michael Lazar
a852659f99 Merge branch 'master' into woorst-imgur_api 2017-07-25 00:54:19 -04:00
Michael Lazar
578f03259b Adding some comments 2017-07-23 02:13:24 -04:00
Michael Lazar
e388591b54 Merge branch 'master' into woorst-imgur_api 2017-07-23 01:01:48 -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
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
7739d31b11 #343 added attribute to hold rxvt-unicode-256color variable instead of calling os.environ every time the screen is cleared. Also changed 'is not' to != in if statement 2017-06-22 19:06:04 -07:00
Ryan Reno
370cfa0642 Issue #343 Added method to clear screen 2017-06-20 21:07:24 -07:00
Michael Lazar
e964cb7ca3 Adding imgur client id to the config file 2017-06-07 22:40:45 -04:00
Michael Lazar
aefbc4e985 Cleaned up some of the dependencies, added conditional mailcap-fix dep 2017-04-09 19:59:59 -07:00