line, and other keys scroll an entire page (previous handling was
for \r and \n to scroll a page and other keys to scroll two lines).
+2010-12-18 Colin Watson <cjwatson@ubuntu.com>
+
+ * grub-core/normal/term.c (print_more): Make \r or \n scroll one
+ line, and other keys scroll an entire page (previous handling was
+ for \r and \n to scroll a page and other keys to scroll two lines).
+
2010-12-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
grub_term_restore_pos (pos);
grub_free (pos);
- /* Scroll one lines or an entire page, depending on the key. */
+ /* Scroll one line or an entire page, depending on the key. */
if (key == '\r' || key =='\n')
- grub_normal_reset_more ();
- else
{
static struct term_state *state;
for (state = term_states; state; state = state->next)
- state->num_lines -= 2;
+ state->num_lines--;
}
+ else
+ grub_normal_reset_more ();
}
void