Improve the VT initialization message: have it say what the
resolution is. For text mode this is the number of columns by the number of rows. Include the name of the driver in a much less prominent way.
This commit is contained in:
parent
67ceb24bca
commit
8bd2e88e36
@ -264,8 +264,9 @@ vt_update_static(void *dummy)
|
|||||||
if (!vty_enabled(VTY_VT))
|
if (!vty_enabled(VTY_VT))
|
||||||
return;
|
return;
|
||||||
if (main_vd->vd_driver != NULL)
|
if (main_vd->vd_driver != NULL)
|
||||||
printf("VT: running with driver \"%s\".\n",
|
printf("VT(%s): %s %ux%u\n", main_vd->vd_driver->vd_name,
|
||||||
main_vd->vd_driver->vd_name);
|
(main_vd->vd_flags & VDF_TEXTMODE) ? "text" : "resolution",
|
||||||
|
main_vd->vd_width, main_vd->vd_height);
|
||||||
else
|
else
|
||||||
printf("VT: init without driver.\n");
|
printf("VT: init without driver.\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user