Commit Graph
4 Commits
Author SHA1 Message Date
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
John Helmert de1d06e33c Replace deprecated ConfigParser method
ConfigParser.readfp() -> ConfigParser.read_file()
2019-06-06 19:32:46 -05:00
John Helmert 04693560f5 Update readme for new maintainer 2019-06-06 19:22:52 -05:00