]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vt(4): Rewrite history scrolling
authordumbbell <dumbbell@FreeBSD.org>
Fri, 19 Sep 2014 12:20:43 +0000 (12:20 +0000)
committerdumbbell <dumbbell@FreeBSD.org>
Fri, 19 Sep 2014 12:20:43 +0000 (12:20 +0000)
commitbd0370dde72628f204a806b4331389643b03ce6a
tree04d7516435fce667e7c74014dfbb0d38669c71fb
parent99f4bfa07bbcb4fe4d7dfc7d535785f2675d9de8
vt(4): Rewrite history scrolling

It's now possible to scroll up the 500 hard-coded lines of history, not
just a fraction of them. For instance, one can reach the top of the boot
process.

Sometimes, when scrolling or when changing the screen size (by changing
the font or loading a KMS driver for instance), one could see the
history cycling (old content appeared below latest lines). This is
fixed.

Now, when the resolution changes are more lines can be shown, the
displayed area is adjusted so that, if the screen was filled with
content before, it's filled with content after as well: more history
is visible, instead of having blank lines below the previously visible
content.

MFC after: 3 days
sys/dev/vt/vt_buf.c
sys/dev/vt/vt_core.c