Skip to content

Fix Page Up/Down keys#165

Open
mjbnz wants to merge 3 commits into
DE-IBH:masterfrom
mjbnz:fix-pgdn
Open

Fix Page Up/Down keys#165
mjbnz wants to merge 3 commits into
DE-IBH:masterfrom
mjbnz:fix-pgdn

Conversation

@mjbnz

@mjbnz mjbnz commented Nov 6, 2019

Copy link
Copy Markdown
Contributor

Very simple fix - reorderScrpos() was being called with bottomDrawLine, but that's not the last drawn drawlist item.

@mjbnz

mjbnz commented Nov 6, 2019

Copy link
Copy Markdown
Contributor Author

Appears that PgDn is still buggy after this patch, but it's still better than the always "go to last item" that it did before.

mjbnz added 2 commits December 7, 2019 23:28
Signed-off-by: Mike Beattie <mike@ethernal.org>
Previously, if nothing was selected, the last item on the drawlist would
always be selected because the check of scrpos would never match. It
should have been "< bottomDrawLine - 1". Now it should correctly select
the last item on the screen.

Signed-off-by: Mike Beattie <mike@ethernal.org>
@mjbnz

mjbnz commented Dec 7, 2019

Copy link
Copy Markdown
Contributor Author

Spent some time fixing this properly, it's now fairly reliable and behaviour matches list UIs in other console apps.

@mjbnz mjbnz changed the title Fix Page Down key Fix Page Up/Down keys Dec 7, 2019
Signed-off-by: Mike Beattie <mike@ethernal.org>
@mjbnz

mjbnz commented Aug 11, 2020

Copy link
Copy Markdown
Contributor Author

Hello, any chance that this PR might be accepted?

@liske liske self-assigned this Dec 25, 2020
@liske liske added this to the apt-dater 1.0.4 milestone Dec 25, 2020
@liske

liske commented Dec 25, 2020

Copy link
Copy Markdown
Member

Hello, any chance that this PR might be accepted?

Sorry I was busy and lost track of your PR.I'm going to take a look at it so it could be part of the next bugfixing release apt-dater 1.0.4 (so it get's into Debian Bulldozer).

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