|
From: | Marco Gerards |
Subject: | Re: [PATCH] make assumed terminal width on cmd help dynamic |
Date: | Sun, 20 Jul 2008 20:16:30 +0200 |
User-agent: | Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
"Felix Zielcke" <address@hidden> writes: > Thanks to nyu and daChaac on IRC By default with gfxterm loaded and > gfxmode set to 640*480 help command produces empty lines see [0] help > command assumes a fixed width of 80 but gfxterm in 640*480 has only 77 > > This is a patch to fix it. Here is the changelog entry from the other mail (just resend the patch if you have a new changelog entry): Felix Zielcke <address@hidden> * commands/help.c: Include <grub/term.h>. (TERM_WIDTH): Redefined to GRUB_TERM_WIDTH. (two newlines instead of one) It would be better to replace all users of TERM_WIDTH to use GRUB_TERM_WIDTH, like you mentioned. Only ugly thing is that this is actually a function... -- Marco
[Prev in Thread] | Current Thread | [Next in Thread] |