Page up/down keys
Hello,
As we talked (Robert and me) in another thread, I'm thinking to add support for Page Up/Down keys in Grub menu (if here, in the mailing list, think that it's fine).
My suggestion for the exact behaviour is mainly the same that vim is using. If you want to test how it would look in a menu, get a xterm, resize to 6 rows (and many columns as you want) and execute:
seq 100 | vim -
I would implement the same behaviour (I'm thinking about which lines are showed and where is the active line after pressing PgUp/Down)
I would add only one thing: pressing "many times" PageUp would move the active line to the first position (vim is not doing it). So, when the active line is on the first page and the user press PgUp one more time it would move te cursor to the top.
Suggestions? Comments?
Signature · 2 lines
Carles Pina i Estany GPG id: 0x17756391 http://pinux.info
Quoted 7 lines · Carles Pina i Estany
Hello,
As we talked (Robert and me) in another thread, I'm thinking to add support for Page Up/Down keys in Grub menu (if here, in the mailing list, think that it's fine).
Quoted 5 lines
My suggestion for the exact behaviour is mainly the same that vim is using. If you want to test how it would look in a menu, get a xterm, resize to 6 rows (and many columns as you want) and execute:
seq 100 | vim -
Some idea to avoid the bikesheding: how about following the behaviour that is simpler/cleaner to implement and/or results in less code size? :-)
Quoted 4 lines
I would add only one thing: pressing "many times" PageUp would move the active line to the first position (vim is not doing it). So, when the active line is on the first page and the user press PgUp one more time it would move te cursor to the top.
Sounds pretty reasonable to me. I wonder why vim (neither emacs) don't do this by default.
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."