Comments (8)
There could be a secondary key bind that allows the user to scroll through the post manually. The amount of scroll increases as they go down the post and resets if another post is reached.
Or we could have to completely separate key binds. One for scrolling post by post and the other for scrolling down line by line.
from rtv.
I like the second idea. Would be tricky to implement though, based on how I wrote the page scrolling.
from rtv.
I tinkered around with the code and got very basic scrolling using 'y' and 'u' as scroll up and down. Curses made this pretty basic:
# Setting scrolling support
self._content_window.scrollok(True)
# Scrolling the content
self._content_window.scroll(1)
self._content_window.refresh()
However since the content is only drawn to what is visible on the screen scrolling does not do much as of yet. I'll try tinkering with the drawing method when I get time.
from rtv.
In addition, posts that don't fit on the screen aren't displayed at all. For example, when nagivating to this post, we simply see (Not enough space to display)
, no comments or anything. I think it should show at least some of the content and the comments.
from rtv.
from rtv.
Closing this because it would require a major rewrite of how screen paging is currently implemented. If anybody has additional input or ideas about this, feel free to open a new issue.
from rtv.
Perhaps an option to open a post in vim? (read-only mode)
from rtv.
Actually this feature was added here #93. It uses less
instead of vim
though.
from rtv.
Related Issues (20)
- add Twitch mime parser HOT 5
- Crash when hitting G on empty thread HOT 1
- RTV development is shutting down HOT 30
- Offering to help with the project HOT 1
- ConnectionError upon first launch
- no confirmation on exit HOT 1
- Program exited with status 127 HOT 1
- When you set $RTV_BROWSER variable to a program with options like "mybrowser -u" it basicly doesn't work HOT 1
- [1.2.7] Where is the configuration option to toggle whether to open web browser links in a new tab or a new window?
- Not being able to view remote image url via iTerm2's imgcat HOT 6
- How do I change it that rtv uses leafpad instead of nano as its default text editor?
- Save option for posts.
- Option to edit a posted comment.
- Where does rtv store the credentials or session/cookie file so I could just take a rtv install to another OS/new install and donβt have to reopen Firefox for allowing the app access?
- Version 1.27.0_1 (from brew) crashed when opening url HOT 5
- Fix incase mpv is not opening anymore
- When pressing < o > key on a reddit post rtv crashes, "Can't pickle local object" HOT 1
- Crash while trying to sign in HOT 1
- Crash while trying to open a submission link HOT 2
- Archiving Github Repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtv.