Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added scrolling functionality #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Added scrolling functionality #19

wants to merge 5 commits into from

Conversation

morsik
Copy link
Contributor

@morsik morsik commented May 30, 2014

Scrolling works with n (page up) and m (page down) keys.
Should works with PgUp/PgDn too (as it's coded?), but for some unknown reason for me — it doesn't ;(

Except "magic number" 3 in `pos` variable
Even it's cleaner… it could interfere with other patches.
@morsik
Copy link
Contributor Author

morsik commented Oct 15, 2015

Hey, now it's better? ;)

@xrmx
Copy link
Owner

xrmx commented Oct 15, 2015

@morsik thanks for refreshing your changes but it doesn't apply to master, you have to rebase and while at it squash all commits together. You can clean whitespace if you want but do it in a different commit than the one adding the scrolling please.

@xrmx
Copy link
Owner

xrmx commented Oct 22, 2015

@morsik could you please check that my pull19 branch works as expected?
https://github.com/unbit/uwsgitop/tree/pull19

@morsik
Copy link
Contributor Author

morsik commented Oct 26, 2015

Yeah, looks like works correctly.
Except PgUp/PgDn… I still wonder why, cause I got curses.KEY_PPAGE and curses.KEY_NPAGE straight from curses docs (see https://docs.python.org/2/howto/curses.html)

@xrmx
Copy link
Owner

xrmx commented Oct 27, 2015

@morsik thanks for checking, will remove pgup / pgdown then since they don't work here either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants