fix partially stale display.
+2012-06-02 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/normal/menu_entry.c (update_screen): Fix loop condition to
+ fix partially stale display.
+
2012-06-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu_entry.c (backward_char): Use right line for
{
int column;
int off = 0;
+ int full_len;
if (linep >= screen->lines + screen->num_lines)
break;
+ full_len = grub_getstringwidth (linep->buf, linep->buf + linep->len,
+ term_screen->term);
+
for (column = 0;
- column <= linep->len
+ column <= full_len
&& y < term_screen->num_entries;
column += grub_term_entry_width (term_screen->term), y++)
{